all the pythons

This commit is contained in:
Kenneth Reitz
2012-08-06 03:52:03 -04:00
parent 386317c40d
commit abb3def9c6
10 changed files with 200 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Options: <output-dir>
OUT_PREFIX=$1
echo "Building SQLite..."
./parts/sqlite $OUT_PREFIX
echo "Building Python..."
SOURCE_TARBALL='http://www.python.org/ftp/python/3.2.0/Python-3.2.0.tar.bz2'
curl $SOURCE_TARBALL | tar jx
mv Python-3.2.0 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src