summaryrefslogtreecommitdiff
path: root/package/json-glib
diff options
context:
space:
mode:
Diffstat (limited to 'package/json-glib')
-rw-r--r--package/json-glib/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/json-glib/Makefile b/package/json-glib/Makefile
new file mode 100644
index 000000000..f293c8384
--- /dev/null
+++ b/package/json-glib/Makefile
@@ -0,0 +1,27 @@
+# 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-glib
+PKG_VERSION:= 0.14.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2a22832c4654156a35b38ee027f6f065
+PKG_DESCR:= a library providing serialization and deserialization support for the JavaScript Object Notation (JSON) format
+PKG_SECTION:= libs
+PKG_URL:= https://wiki.gnome.org/JsonGlib/
+PKG_SITES:= http://ftp.gnome.org/pub/GNOME/sources/json-glib/0.14/
+PKG_OPTS:= dev
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JSON_GLIB,json-glib,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+
+json-glib-install:
+ $(INSTALL_DIR) $(IDIR_JSON_GLIB)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libjson-glib*.so* \
+ $(IDIR_JSON_GLIB)/usr/lib
+
+include ${TOPDIR}/mk/pkg-bottom.mk