diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-12 10:54:25 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-08-12 11:08:14 +0200 |
commit | a1550585f5b72a0146b7b3b50de98cd42dd0b654 (patch) | |
tree | 74d904413adf7dbf842cd073d5f5271a5c2b0cda | |
parent | c4b0bc9f74c3acb34c163b1aec7db5c177fb6e98 (diff) | |
download | aports-a1550585f5b72a0146b7b3b50de98cd42dd0b654.tar.bz2 aports-a1550585f5b72a0146b7b3b50de98cd42dd0b654.tar.xz |
main/sqlite: upgrade to 3.14.1
-rw-r--r-- | main/sqlite/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/main/sqlite/APKBUILD b/main/sqlite/APKBUILD index 6bac2bb3f3..514f92e17d 100644 --- a/main/sqlite/APKBUILD +++ b/main/sqlite/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Carlo Landmeter <clandmeter@gmail.com> # Contributor: Łukasz Jendrysik <scadu@yandex.com> pkgname=sqlite -pkgver=3.13.0 +pkgver=3.14.1 _a=${pkgver%%.*} _b=${pkgver#${_a}.} _b=${_b%%.*} @@ -28,8 +28,6 @@ source="http://www.sqlite.org/2016/$pkgname-autoconf-$_ver.tar.gz license.txt" subpackages="$pkgname-doc $pkgname-dev $pkgname-libs" -builddir="$srcdir/$pkgname-autoconf-$_ver" - _amalgamation="-DSQLITE_ENABLE_FTS4 \ -DSQLITE_ENABLE_FTS3_PARENTHESIS \ -DSQLITE_ENABLE_FTS5 \ @@ -41,6 +39,7 @@ _amalgamation="-DSQLITE_ENABLE_FTS4 \ -DSQLITE_ENABLE_DBSTAT_VTAB \ -DSQLITE_ENABLE_JSON1" +builddir="$srcdir/$pkgname-autoconf-$_ver" build() { cd "$builddir" export CFLAGS="$CFLAGS $_amalgamation" @@ -53,9 +52,11 @@ build() { --enable-readline \ --enable-dynamic-extensions \ || return 1 + # rpath removal sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make || return 1 } @@ -63,9 +64,9 @@ package() { cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 install -Dm0644 sqlite3.1 \ - ${pkgdir}/usr/share/man/man1/sqlite3.1 || return 1 - install -Dm644 ${srcdir}/license.txt \ - ${pkgdir}/usr/share/licenses/${pkgname}/license.txt || return 1 + "$pkgdir"/usr/share/man/man1/sqlite3.1 || return 1 + install -Dm644 "$srcdir"/license.txt \ + "$pkgdir"/usr/share/licenses/$pkgname/license.txt || return 1 } libs() { @@ -75,9 +76,9 @@ libs() { mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ } -md5sums="4e83f39fa2ffb610ac5ecd36865da6a2 sqlite-autoconf-3130000.tar.gz +md5sums="3634a90a3f49541462bcaed3474b2684 sqlite-autoconf-3140100.tar.gz c1cdbc5544034d9012e421e75a5e4890 license.txt" -sha256sums="e2797026b3310c9d08bd472f6d430058c6dd139ff9d4e30289884ccd9744086b sqlite-autoconf-3130000.tar.gz +sha256sums="bc7182476900017becb81565ecea7775d46ab747a97281aa610f4f45881c47a6 sqlite-autoconf-3140100.tar.gz 4e57d9ac979f1c9872e69799c2597eeef4c6ce7224f3ede0bf9dc8d217b1e65d license.txt" -sha512sums="c2547ff9a144c46829344058b4f8dcc5b8c9c823cbc667be2944dc7beecb9cc213858cc9ce302a763200278397d9a0fc6bb35c542028a124ef0980fedd574c2f sqlite-autoconf-3130000.tar.gz +sha512sums="14d78eea1aef5bd143f942b88f01ef2c1ef58aeac6c0a10c0807761ac5301b71db7d787f82ba8215d804b80c115ee4800072d4aa86616d04d01aaf529e168461 sqlite-autoconf-3140100.tar.gz 5bde14bec5bf18cc686b8b90a8b2324c8c6600bca1ae56431a795bb34b8b5ae85527143f3b5f0c845c776bce60eaa537624104cefc3a47b3820d43083f40c6e9 license.txt" |