2018-05-06 20:38:28 +02:00
|
|
|
VERSION="3230100"
|
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-05-06 20:38:28 +02:00
|
|
|
SHA256SUM="92842b283e5e744eff5da29ed3c69391de7368fccc4d0ee6bf62490ce555ef25"
|
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"
|
|
|
|
local DEVDEPLOY="$3"
|
2018-01-22 01:45:01 +01:00
|
|
|
|
|
|
|
make DESTDIR="$DEPLOY" install-strip
|
|
|
|
|
|
|
|
rm -r "$DEPLOY/share"
|
2018-02-10 01:57:53 +01:00
|
|
|
|
|
|
|
split_dev_deploy "$DEPLOY" "$DEVDEPLOY"
|
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"
|
|
|
|
}
|