mirror of
https://github.com/kennethreitz-archive/python-versions.git
synced 2026-06-05 23:30:17 +00:00
17 lines
297 B
Bash
Executable File
17 lines
297 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Usage: $ build.sh <output-dir>
|
|
|
|
OUT_PREFIX=$1
|
|
SOURCE_TARBALL='http://www.sqlite.org/sqlite-autoconf-3070900.tar.gz'
|
|
|
|
curl -O $SOURCE_TARBALL | tar x
|
|
mv sqlite-autoconf-3070900 sqlite
|
|
|
|
cd sqlite
|
|
./configure --prefix=$OUT_PREFIX
|
|
make
|
|
make install
|
|
|
|
# Cleanup
|
|
cd ..
|
|
rm -fr sqlite |