json-c 0.11
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Mon, 3 Jun 2013 19:31:42 +0000 (14:31 -0500)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Mon, 3 Jun 2013 19:31:42 +0000 (14:31 -0500)
0.9-no-undefined.patch [deleted file]
json-c-0.9-1.cygport [deleted file]
json-c.cygport [new file with mode: 0644]
json-c.hint [deleted file]
libjson-devel.hint [deleted file]
libjson0.hint [deleted file]

diff --git a/0.9-no-undefined.patch b/0.9-no-undefined.patch
deleted file mode 100644 (file)
index 3b7a7f3..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- origsrc/json-c-0.9/Makefile.am     2009-07-30 21:57:29.000000000 -0500
-+++ src/json-c-0.9/Makefile.am 2011-11-20 01:38:29.334692300 -0600
-@@ -20,7 +20,7 @@ libjsoninclude_HEADERS = \
-         json_object_private.h \
-       json_tokener.h
--libjson_la_LDFLAGS = -version-info 0:1:0
-+libjson_la_LDFLAGS = -version-info 0:1:0 -no-undefined
- libjson_la_SOURCES = \
-       arraylist.c \
diff --git a/json-c-0.9-1.cygport b/json-c-0.9-1.cygport
deleted file mode 100644 (file)
index 74852d9..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-DESCRIPTION="C JSON library"
-HOMEPAGE="http://oss.metaparadigm.com/json-c/"
-SRC_URI="http://oss.metaparadigm.com/json-c/${P}.tar.gz"
-PATCH_URI="0.9-no-undefined.patch"
-
-PKG_NAMES="libjson0 libjson-devel"
-libjson0_CONTENTS="usr/bin/cygjson-0.dll usr/share/doc/"
-libjson_devel_CONTENTS="usr/include/ usr/lib/"
-
-CFLAGS+=" -Wno-error"
diff --git a/json-c.cygport b/json-c.cygport
new file mode 100644 (file)
index 0000000..19069db
--- /dev/null
@@ -0,0 +1,33 @@
+NAME="json-c"
+VERSION=0.11
+RELEASE=1
+CATEGORY="Libs"
+SUMMARY="C JSON library"
+DESCRIPTION="JSON-C implements a reference counting object model that allows
+you to easily construct JSON objects in C, output them as JSON formatted
+strings and parse JSON formatted strings back into the C representation of
+JSON objects."
+HOMEPAGE="https://github.com/json-c/json-c/wiki"
+SRC_URI="https://s3.amazonaws.com/json-c_releases/releases/json-c-${VERSION}.tar.gz"
+
+PKG_NAMES="libjson-c2 libjson-c-common libjson-c-devel libjson-devel"
+libjson_c2_REQUIRES="libjson-c-common"
+libjson_c2_CONTENTS="usr/bin/cygjson-c-2.dll"
+libjson_c_common_CONTENTS="usr/share/doc/"
+libjson_c_devel_CONTENTS="usr/include/ usr/lib/"
+libjson_devel_CATEGORY="_obsolete"
+libjson_devel_REQUIRES="libjson-c-devel"
+
+CYGPORT_USE_UNSTABLE_API=1
+src_unpack_hook() {
+       make distclean
+}
+
+CYGCONF_ARGS="--disable-oldname-compat"
+
+src_install() {
+       cd ${B}
+       cyginstall
+
+       dopkgconfig json.pc
+}
diff --git a/json-c.hint b/json-c.hint
deleted file mode 100644 (file)
index c9ff5c6..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-category: Libs
-sdesc: "C JSON library (sources)"
-ldesc: "JSON-C implements a reference counting object model that allows 
-you to easily construct JSON objects in C, output them as JSON formatted 
-strings and parse JSON formatted strings back into the C representation 
-of JSON objects."
diff --git a/libjson-devel.hint b/libjson-devel.hint
deleted file mode 100644 (file)
index 3b88f76..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-category: Libs
-requires: libjson0
-external-source: json-c
-sdesc: "C JSON library (development)"
-ldesc: "JSON-C implements a reference counting object model that allows 
-you to easily construct JSON objects in C, output them as JSON formatted 
-strings and parse JSON formatted strings back into the C representation 
-of JSON objects."
diff --git a/libjson0.hint b/libjson0.hint
deleted file mode 100644 (file)
index 79ecd0d..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-category: Libs
-requires:
-external-source: json-c
-sdesc: "C JSON library (runtime)"
-ldesc: "JSON-C implements a reference counting object model that allows 
-you to easily construct JSON objects in C, output them as JSON formatted 
-strings and parse JSON formatted strings back into the C representation 
-of JSON objects."
This page took 0.023712 seconds and 5 git commands to generate.