harness-drone/contrib/setup-sqlite.sh
2015-09-30 22:28:20 -07:00

18 lines
380 B
Bash
Executable file

#!/bin/bash
set -e
cd /tmp
# cleanup previously downloaded and unpacked files.
rm -rf sqlite-autoconf-3081101.tar.gz
rm -rf sqlite-autoconf-3081101
# download sqlite
curl -O https://www.sqlite.org/2015/sqlite-autoconf-3081101.tar.gz
tar xzf sqlite-autoconf-3081101.tar.gz
# build and install
cd sqlite-autoconf-3081101
./configure -prefix=/scratch/usr/local
make
make install