1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-06 08:16:19 +02:00
woodpecker/contrib/setup-sqlite.sh
2015-09-30 22:28:20 -07:00

19 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