Commit 569cdb02 authored by Leo's avatar Leo
Browse files

main/jansson: upgrade to 2.13.1

parent b3401463
Pipeline #18191 failed with stages
in 20 seconds
# Maintainer: Natanael Copa <ncopa@alpinelinux.org> # Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jansson pkgname=jansson
pkgver=2.12 pkgver=2.13.1
pkgrel=0 pkgrel=0
pkgdesc="lightweight JSON library" pkgdesc="lightweight JSON library"
url="http://www.digip.org/jansson/" url="http://www.digip.org/jansson/"
arch="all" arch="all"
license="MIT" license="MIT"
checkdepends="bash"
subpackages="$pkgname-dev" subpackages="$pkgname-dev"
source="http://www.digip.org/jansson/releases/$pkgname-$pkgver.tar.bz2" source="http://www.digip.org/jansson/releases/jansson-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
...@@ -19,18 +18,17 @@ build() { ...@@ -19,18 +18,17 @@ build() {
--sysconfdir=/etc \ --sysconfdir=/etc \
--mandir=/usr/share/man \ --mandir=/usr/share/man \
--infodir=/usr/share/info \ --infodir=/usr/share/info \
--localstatedir=/var --localstatedir=/var \
--disable-static
make make
} }
check() { check() {
cd "$builddir"
make check make check
} }
package() { package() {
cd "$builddir"
make DESTDIR="$pkgdir" install make DESTDIR="$pkgdir" install
} }
sha512sums="6ed665a441c789cdf7eb22b6e69d02575746c81b00e0a81ced90d30aaf2badc93fac32e5841fd4e07751a27726a327a63fe28bb0689c6bef5b6164b435bbc30d jansson-2.12.tar.bz2" sha512sums="057f0eda43e4162569888d739f4d78d1d02fce8359400d8f66fdc6e440b0405cb457e1126820dc8ce51e9c4a7f4b7effc640caf1d54307c78c0c47c3fc093011 jansson-2.13.1.tar.bz2"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment