harness-drone/contrib/setup-sqlite.sh

19 lines
380 B
Bash
Raw Normal View History

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
# cleanup previously downloaded and unpacked files.
rm -rf sqlite-autoconf-3081101.tar.gz
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
# 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