summaryrefslogtreecommitdiff
path: root/package/json-c/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-22 19:27:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-22 19:27:18 +0100
commit3becf571f6137f47f15ac3dfcbb64c5a4f4b3852 (patch)
tree8b446cb5ed95bd078b2b7be13ae62c29e202d657 /package/json-c/Makefile
parentf4704ae1ec6a30b3dde6424f317e5315757a65f0 (diff)
parentc7b25f4c5726394f2cc57b924bb7913a3882255e (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/json-c/Makefile')
-rw-r--r--package/json-c/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/package/json-c/Makefile b/package/json-c/Makefile
new file mode 100644
index 000000000..de4f0e04e
--- /dev/null
+++ b/package/json-c/Makefile
@@ -0,0 +1,26 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= json-c
+PKG_VERSION:= 0.11
+PKG_RELEASE:= 1
+PKG_MD5SUM:= aa02367d2f7a830bf1e3376f77881e98
+PKG_DESCR:= JSON library
+PKG_SECTION:= libs
+PKG_URL:= https://github.com/json-c/json-c/wiki
+PKG_SITES:= https://s3.amazonaws.com/json-c_releases/releases/
+PKG_OPTS:= dev
+PKG_NOPARALLEL:= 1
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JSON_C,json-c,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+json-c-install:
+ $(INSTALL_DIR) $(IDIR_JSON_C)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libjson*.so* \
+ $(IDIR_JSON_C)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk