This commit is contained in:
Kenneth Reitz
2012-08-06 03:17:01 -04:00
parent 75081ed1fc
commit e3ead65d03
10 changed files with 49 additions and 23 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/2.7/Python-2.7.tar.bz2'
curl $SOURCE_TARBALL | tar jx
mv Python-2.7 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src