summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-05-06 01:56:46 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-05-15 02:08:37 +0000
commit569cdb02b4418a574184113b313b5fd89893e8f7 (patch)
tree194fa5c95322c228c2fdfceca335956154a91762
parentb34014637ea8d2caf92609d5e245ae0099ad5a88 (diff)
downloadaports-569cdb02b4418a574184113b313b5fd89893e8f7.zip
main/jansson: upgrade to 2.13.1
-rw-r--r--main/jansson/APKBUILD14
1 files changed, 6 insertions, 8 deletions
diff --git a/main/jansson/APKBUILD b/main/jansson/APKBUILD
index e5dcf1347d0..2e29bdae5f7 100644
--- a/main/jansson/APKBUILD
+++ b/main/jansson/APKBUILD
@@ -1,17 +1,16 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jansson
-pkgver=2.12
+pkgver=2.13.1
pkgrel=0
pkgdesc="lightweight JSON library"
url="http://www.digip.org/jansson/"
arch="all"
license="MIT"
+checkdepends="bash"
subpackages="$pkgname-dev"
-source="http://www.digip.org/jansson/releases/$pkgname-$pkgver.tar.bz2"
-builddir="$srcdir/$pkgname-$pkgver"
+source="http://www.digip.org/jansson/releases/jansson-$pkgver.tar.bz2"
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -19,18 +18,17 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --localstatedir=/var
+ --localstatedir=/var \
+ --disable-static
make
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
-sha512sums="6ed665a441c789cdf7eb22b6e69d02575746c81b00e0a81ced90d30aaf2badc93fac32e5841fd4e07751a27726a327a63fe28bb0689c6bef5b6164b435bbc30d jansson-2.12.tar.bz2"
+sha512sums="057f0eda43e4162569888d739f4d78d1d02fce8359400d8f66fdc6e440b0405cb457e1126820dc8ce51e9c4a7f4b7effc640caf1d54307c78c0c47c3fc093011 jansson-2.13.1.tar.bz2"