2015-09-30 01:21:17 +00:00
|
|
|
#!/bin/bash
|
2015-09-30 20:15:28 +00:00
|
|
|
set -e
|
2015-09-30 01:21:17 +00:00
|
|
|
|
|
|
|
cd /tmp
|
|
|
|
|
2015-09-30 20:23:05 +00:00
|
|
|
# cleanup previously downloaded and unpacked files.
|
2015-09-30 20:24:42 +00:00
|
|
|
rm -rf sqlite-autoconf-3081101.tar.gz
|
2015-09-30 20:23:05 +00:00
|
|
|
rm -rf sqlite-autoconf-3081101
|
|
|
|
|
|
|
|
# download sqlite
|
2015-09-30 01:21:17 +00:00
|
|
|
curl -O https://www.sqlite.org/2015/sqlite-autoconf-3081101.tar.gz
|
|
|
|
tar xzf sqlite-autoconf-3081101.tar.gz
|
2015-09-30 20:23:05 +00:00
|
|
|
|
|
|
|
# build and install
|
2015-09-30 01:21:17 +00:00
|
|
|
cd sqlite-autoconf-3081101
|
|
|
|
./configure -prefix=/scratch/usr/local
|
|
|
|
make
|
2015-10-01 05:28:20 +00:00
|
|
|
make install
|