json-c 0.11
[git/cygwin-packages/json-c.git] / json-c.cygport
1 NAME="json-c"
2 VERSION=0.11
3 RELEASE=1
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
13 PKG_NAMES="libjson-c2 libjson-c-common libjson-c-devel libjson-devel"
14 libjson_c2_REQUIRES="libjson-c-common"
15 libjson_c2_CONTENTS="usr/bin/cygjson-c-2.dll"
16 libjson_c_common_CONTENTS="usr/share/doc/"
17 libjson_c_devel_CONTENTS="usr/include/ usr/lib/"
18 libjson_devel_CATEGORY="_obsolete"
19 libjson_devel_REQUIRES="libjson-c-devel"
20
21 CYGPORT_USE_UNSTABLE_API=1
22 src_unpack_hook() {
23 make distclean
24 }
25
26 CYGCONF_ARGS="--disable-oldname-compat"
27
28 src_install() {
29 cd ${B}
30 cyginstall
31
32 dopkgconfig json.pc
33 }
This page took 0.034557 seconds and 5 git commands to generate.