harness-drone/contrib/setup-sqlite.sh
2015-09-30 13:23:05 -07:00

18 lines
381 B
Bash
Executable file

#!/bin/bash
set -e
cd /tmp
# cleanup previously downloaded and unpacked files.
rm 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
sudo make install