2018-08-17 10:47:28 +02:00
|
|
|
VERSION="3240000"
|
2018-01-22 01:45:01 +01:00
|
|
|
SRCDIR="sqlite-autoconf-${VERSION}"
|
|
|
|
TARBALL="${SRCDIR}.tar.gz"
|
2018-02-10 11:48:31 +01:00
|
|
|
URL="https://sqlite.org/2018/"
|
2018-08-17 10:47:28 +02:00
|
|
|
SHA256SUM="d9d14e88c6fb6d68de9ca0d1f9797477d82fc3aed613558f87ffbdbbc5ceb74a"
|
2018-01-24 12:52:41 +01:00
|
|
|
DEPENDS="readline"
|
2018-01-22 01:45:01 +01:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2018-02-16 23:22:04 +01:00
|
|
|
$1/configure --prefix="" --host="$TARGET" --disable-tcl
|
2018-01-22 01:45:01 +01:00
|
|
|
|
|
|
|
make -j $NUMJOBS
|
|
|
|
}
|
|
|
|
|
|
|
|
deploy() {
|
|
|
|
local SOURCE="$1"
|
2018-02-16 23:22:04 +01:00
|
|
|
local DEPLOY="$2"
|
2018-01-22 01:45:01 +01:00
|
|
|
|
2018-06-17 16:08:11 +02:00
|
|
|
make DESTDIR="$DEPLOY" install
|
2018-01-22 01:45:01 +01:00
|
|
|
}
|
2018-05-06 17:23:31 +02:00
|
|
|
|
|
|
|
check_update() {
|
|
|
|
curl --silent -L https://sqlite.org/download.html | \
|
|
|
|
grep -o sqlite-autoconf-[0-9]*.tar.gz | grep -o [0-9]* | \
|
|
|
|
verson_find_greatest "$VERSION"
|
|
|
|
}
|