1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-24 20:10:42 +01:00

Sqlite3: fix package build script

Add missing sub packages, replace version find function.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
This commit is contained in:
David Oberhollenzer 2019-04-22 12:34:57 +02:00
parent 4ebf4797fb
commit 77653ba75d
2 changed files with 3 additions and 4 deletions

View file

@ -4,6 +4,7 @@ TARBALL="${SRCDIR}.tar.gz"
URL="https://sqlite.org/2019" URL="https://sqlite.org/2019"
SHA256SUM="50c39e85ea28b5ecfdb3f9e860afe9ba606381e21836b2849efca6a0bfe6ef6e" SHA256SUM="50c39e85ea28b5ecfdb3f9e860afe9ba606381e21836b2849efca6a0bfe6ef6e"
DEPENDS="readline-dev zlib-dev toolchain" DEPENDS="readline-dev zlib-dev toolchain"
SUBPKG="sqlite3 sqlite3-dev sqlite3-shell"
prepare() { prepare() {
return return
@ -20,7 +21,6 @@ deploy() {
} }
check_update() { check_update() {
curl --silent -L https://sqlite.org/download.html | \ check_update_simple "https://sqlite.org/download.html" \
grep -o sqlite-autoconf-[0-9]*.tar.gz | grep -o [0-9]* | \ "sqlite-autoconf" "tar.gz"
verson_find_greatest "$VERSION"
} }

View file

@ -1,7 +1,6 @@
dir lib 0755 0 0 dir lib 0755 0 0
dir lib/pkgconfig 0755 0 0 dir lib/pkgconfig 0755 0 0
slink lib/libsqlite3.so 0777 0 0 libsqlite3.so.0.8.6 slink lib/libsqlite3.so 0777 0 0 libsqlite3.so.0.8.6
file lib/libsqlite3.a 0644 0 0
file lib/pkgconfig/sqlite3.pc 0644 0 0 file lib/pkgconfig/sqlite3.pc 0644 0 0
dir include 0755 0 0 dir include 0755 0 0
file include/sqlite3.h 0644 0 0 file include/sqlite3.h 0644 0 0