From 9507167623670ab2253e3fdc01005c394fdc3e6c Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 17 May 2013 08:10:49 +0200 Subject: [PATCH] python-2.7.5 --- formula/python-2.7.5 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 formula/python-2.7.5 diff --git a/formula/python-2.7.5 b/formula/python-2.7.5 new file mode 100755 index 0000000..7c2a51e --- /dev/null +++ b/formula/python-2.7.5 @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +# Options: + +OUT_PREFIX=$1 + +echo "Building SQLite..." +./parts/sqlite $OUT_PREFIX + +echo "Building Python..." +SOURCE_TARBALL='http://python.org/ftp/python/2.7.5/Python-2.7.5.tar.bz2' +curl $SOURCE_TARBALL | tar jx +mv Python-2.7.5 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src \ No newline at end of file