mirror of
https://github.com/pygos/build.git
synced 2024-05-17 19:16:13 +02:00
3d30afef75
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
29 lines
586 B
Plaintext
Executable file
29 lines
586 B
Plaintext
Executable file
VERSION="3230100"
|
|
SRCDIR="sqlite-autoconf-${VERSION}"
|
|
TARBALL="${SRCDIR}.tar.gz"
|
|
URL="https://sqlite.org/2018/"
|
|
SHA256SUM="92842b283e5e744eff5da29ed3c69391de7368fccc4d0ee6bf62490ce555ef25"
|
|
DEPENDS="readline"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
$1/configure --prefix="" --host="$TARGET" --disable-tcl
|
|
|
|
make -j $NUMJOBS
|
|
}
|
|
|
|
deploy() {
|
|
local SOURCE="$1"
|
|
local DEPLOY="$2"
|
|
|
|
make DESTDIR="$DEPLOY" install-strip
|
|
}
|
|
|
|
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"
|
|
} |