Files
2014-03-03 15:29:27 -05:00

21 lines
412 B
Bash
Executable File

#!/usr/bin/env bash
# Options: <output-dir>
OUT_PREFIX=$1
echo "Building SQLite..."
./parts/sqlite $OUT_PREFIX
echo "Building Python..."
SOURCE_TARBALL='http://python.org/ftp/python/3.4.0/Python-3.4.0b2.tgz'
curl -L $SOURCE_TARBALL | tar xz
mv Python-3.4.0b2 src
cd src
./configure --prefix=$OUT_PREFIX --with-ensurepip=no
make
make install
cd ..
rm -fr src
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python