From 338371aeb8e3deb6164ee6c325e5fac1cfe4c9c6 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 17 Jan 2014 10:32:38 -0800 Subject: [PATCH] python-2.6.8 --- formula/python-2.6.8 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 formula/python-2.6.8 diff --git a/formula/python-2.6.8 b/formula/python-2.6.8 new file mode 100755 index 0000000..a481edd --- /dev/null +++ b/formula/python-2.6.8 @@ -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.6.8/Python-2.6.8.tgz' +curl $SOURCE_TARBALL | tar xz +mv Python-2.6.8 src +cd src + +./configure --prefix=$OUT_PREFIX +make +make install + +cd .. +rm -fr src \ No newline at end of file