diff options
author | wiz <wiz> | 2013-07-13 10:38:32 +0000 |
---|---|---|
committer | wiz <wiz> | 2013-07-13 10:38:32 +0000 |
commit | d5879967f642b4ecb0f295669564318ea4fa87e8 (patch) | |
tree | 3b00b17d2f2dadb3f6236fd0440add1db8847004 /textproc | |
parent | 8ea887a87f33a38cc8ff69ed687007da0ccd2826 (diff) | |
download | pkgsrc-d5879967f642b4ecb0f295669564318ea4fa87e8.tar.gz |
Import jansson-2.4 as textproc/jansson.
Jansson is a C library for encoding, decoding and manipulating JSON
data. It features:
* Simple and intuitive API and data model
* Comprehensive documentation
* No dependencies on other libraries
* Full Unicode support (UTF-8)
* Extensive test suite
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/jansson/DESCR | 8 | ||||
-rw-r--r-- | textproc/jansson/Makefile | 22 | ||||
-rw-r--r-- | textproc/jansson/PLIST | 5 | ||||
-rw-r--r-- | textproc/jansson/distinfo | 5 |
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/jansson/DESCR b/textproc/jansson/DESCR new file mode 100644 index 00000000000..eca53bdd09e --- /dev/null +++ b/textproc/jansson/DESCR @@ -0,0 +1,8 @@ +Jansson is a C library for encoding, decoding and manipulating JSON +data. It features: + +* Simple and intuitive API and data model +* Comprehensive documentation +* No dependencies on other libraries +* Full Unicode support (UTF-8) +* Extensive test suite diff --git a/textproc/jansson/Makefile b/textproc/jansson/Makefile new file mode 100644 index 00000000000..bba5de14c66 --- /dev/null +++ b/textproc/jansson/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2013/07/13 10:38:32 wiz Exp $ + +DISTNAME= jansson-2.4 +CATEGORIES= textproc +MASTER_SITES= http://www.digip.org/jansson/releases/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.digip.org/jansson/ +COMMENT= C library for encoding, decoding and manipulating JSON data +LICENSE= mit + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config + +PKGCONFIG_OVERRIDE+= jansson.pc.in +# Fails a self-test because the library exports more symbols than it should. +# It seems "libtool ... -export-symbols-regex '^json_' ..." doesn't work, +# at least not on NetBSD-6.99.20/amd64. +#TEST_TARGET= check + +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/jansson/PLIST b/textproc/jansson/PLIST new file mode 100644 index 00000000000..850661aed22 --- /dev/null +++ b/textproc/jansson/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1 2013/07/13 10:38:32 wiz Exp $ +include/jansson.h +include/jansson_config.h +lib/libjansson.la +lib/pkgconfig/jansson.pc diff --git a/textproc/jansson/distinfo b/textproc/jansson/distinfo new file mode 100644 index 00000000000..fb00e127fb2 --- /dev/null +++ b/textproc/jansson/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2013/07/13 10:38:32 wiz Exp $ + +SHA1 (jansson-2.4.tar.gz) = 994b84fd0b5d9050d01d250c7f90f038a3eeeed0 +RMD160 (jansson-2.4.tar.gz) = 36d31aa220df478c1e6d19e343404b0cbec6360c +Size (jansson-2.4.tar.gz) = 401597 bytes |