264a49213521013ffbbd816deccf201abe5da700
[git/cygwin-packages/json-c.git] / json-c.cygport
1 NAME="json-c"
2 VERSION=0.11
3 RELEASE=2
4 CATEGORY="Libs"
5 SUMMARY="C JSON library"
6 DESCRIPTION="JSON-C implements a reference counting object model that allows
7 you to easily construct JSON objects in C, output them as JSON formatted
8 strings and parse JSON formatted strings back into the C representation of
9 JSON objects."
10 HOMEPAGE="https://github.com/json-c/json-c/wiki"
11 SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION}.tar.gz"
12 PATCH_URI="
13 http://pkgs.fedoraproject.org/cgit/json-c.git/plain/90.patch
14 http://pkgs.fedoraproject.org/cgit/json-c.git/plain/94.patch
15 http://pkgs.fedoraproject.org/cgit/json-c.git/plain/json-c-0.11-cflags.patch
16 http://pkgs.fedoraproject.org/cgit/json-c.git/plain/json-c-0.11-cve.patch
17 "
18
19 PKG_NAMES="libjson-c2 libjson-c-common libjson-c-devel libjson-devel"
20 libjson_c2_REQUIRES="libjson-c-common"
21 libjson_c2_CONTENTS="usr/bin/cygjson-c-2.dll"
22 libjson_c_common_CONTENTS="usr/share/doc/"
23 libjson_c_devel_CONTENTS="usr/include/ usr/lib/"
24 libjson_devel_CATEGORY="_obsolete"
25 libjson_devel_REQUIRES="libjson-c-devel"
26
27 CYGPORT_USE_UNSTABLE_API=1
28 src_unpack_hook() {
29 make distclean
30 }
31
32 CYGCONF_ARGS="--disable-oldname-compat"
33
34 src_install() {
35 cd ${B}
36 cyginstall
37
38 dopkgconfig json.pc
39 }
This page took 0.032367 seconds and 4 git commands to generate.