cleanup workspace

This commit is contained in:
Kenneth Reitz
2014-03-13 17:07:40 -04:00
parent fa28c99dcb
commit 2994307ea0
5 changed files with 2 additions and 61 deletions
-18
View File
@@ -1,18 +0,0 @@
#!/usr/bin/env bash
# Usage: $ build.sh <output-dir>
OUT_PREFIX=$1
SOURCE_TARBALL='ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz'
curl $SOURCE_TARBALL | tar xz
# jx
mv libffi-3.0.13 libffi
cd libffi
./configure --prefix=$OUT_PREFIX
make
make install
# Cleanup
cd ..
rm -fr libffi
-18
View File
@@ -1,18 +0,0 @@
#!/usr/bin/env bash
# Usage: $ build.sh <output-dir>
OUT_PREFIX=$1
SOURCE_TARBALL='ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz'
curl $SOURCE_TARBALL | tar xz
# jx
mv libffi-3.0.13 libffi
cd libffi
./configure --prefix=$OUT_PREFIX
make
make install
# Cleanup
cd ..
rm -fr libffi
+2 -3
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
# Usage: $ build.sh <output-dir>
# Build Path: /Users/kreitz/repos/heroku/build-toolkit/.heroku/python/
# Options: <output-dir>
# Build Path: /app/.heroku/python/
OUT_PREFIX=$1
@@ -21,4 +20,4 @@ make install
# Cleanup
cd ..
rm -fr sqlite
rm -fr sqlite
-1
View File
@@ -1,6 +1,5 @@
#!/usr/bin/env bash
# Options: <output-dir>
# Build Path: /Users/kreitz/repos/heroku/build-toolkit/.heroku/python/
# Build Path: /app/.heroku/python/
# Build Deps: libraries/sqlite
-21
View File
@@ -1,21 +0,0 @@
#!/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.3.4/Python-3.3.4.tgz'
curl -L $SOURCE_TARBALL | tar xz
mv Python-3.3.4 src
cd src
./configure --prefix=$OUT_PREFIX
make
make install
cd ..
rm -fr src
ln $OUT_PREFIX/bin/python3 $OUT_PREFIX/bin/python