summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2019-09-29 08:58:13 -0500
committerMax Rees <maxcrees@me.com>2019-09-29 08:58:13 -0500
commitf70b79c88b14db3f5f57d3e212d5db8c15752c4b (patch)
tree7298f822ee77ec799092ac5f28d4487ace9f0ac0
parent7cec36c2876610cbfb5a8238b107ed0de479f978 (diff)
downloadpackages-f70b79c88b14db3f5f57d3e212d5db8c15752c4b.tar.gz
packages-f70b79c88b14db3f5f57d3e212d5db8c15752c4b.tar.bz2
packages-f70b79c88b14db3f5f57d3e212d5db8c15752c4b.tar.xz
packages-f70b79c88b14db3f5f57d3e212d5db8c15752c4b.zip
user/jansson: new package
-rw-r--r--user/jansson/APKBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/user/jansson/APKBUILD b/user/jansson/APKBUILD
new file mode 100644
index 000000000..b6f332c62
--- /dev/null
+++ b/user/jansson/APKBUILD
@@ -0,0 +1,34 @@
+# Contributor: Max Rees <maxcrees@me.com>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=jansson
+pkgver=2.12
+pkgrel=0
+pkgdesc="C library for encoding, decoding and manipulating JSON data"
+url="http://www.digip.org/jansson/" # No HTTPS
+arch="all"
+license="MIT"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev"
+source="http://www.digip.org/jansson/releases/jansson-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="e40bdafdfa1fa663f71e00c06d7bfc98cff4ed3581a147894e5272e50fa5f9b9a7af6aaca41ff423a2ddd2554a192b36efcc32f6a3c98c727e9f819b955357cb jansson-2.12.tar.gz"