mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
23 lines
333 B
Bash
Executable File
23 lines
333 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build Path: /app/.heroku/python/
|
|
|
|
OUT_PREFIX=$1
|
|
|
|
echo "Building SQLite..."
|
|
|
|
|
|
SOURCE_TARBALL='https://www.sqlite.org/sqlite-autoconf-3070900.tar.gz'
|
|
|
|
curl $SOURCE_TARBALL | tar xz
|
|
# jx
|
|
mv sqlite-autoconf-3070900 sqlite
|
|
|
|
cd sqlite
|
|
./configure --prefix=$OUT_PREFIX
|
|
make
|
|
make install
|
|
|
|
# Cleanup
|
|
cd ..
|
|
rm -fr sqlite
|