summaryrefslogtreecommitdiff
path: root/package/libfastjson
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:21:49 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-24 22:27:25 +0200
commitcfdc1116e380e78200a7c5a891113e8dae5f3f38 (patch)
tree9ef1660bb4d0eeffcc629c939b0b7383b7f1fd26 /package/libfastjson
parentc88b21c8f5f44668cc430a1442dcda2f1142526a (diff)
libfastjson: new package
Diffstat (limited to 'package/libfastjson')
-rw-r--r--package/libfastjson/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/libfastjson/Makefile b/package/libfastjson/Makefile
new file mode 100644
index 000000000..071494ee9
--- /dev/null
+++ b/package/libfastjson/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libfastjson
+PKG_VERSION:= 0.99.4
+PKG_RELEASE:= 1
+PKG_HASH:= 03ef63dcc88417e71c19ce4436804159e3397e3a20d3529efef6a43c3bef5c8d
+PKG_DESCR:= another json library
+PKG_SECTION:= libs/data
+PKG_URL:= https://github.com/rsyslog/libfastjson
+PKG_SITES:= https://github.com/rsyslog/libfastjson/archive/
+PKG_OPTS:= dev
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBFASTJSON,libfastjson,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+AUTOTOOL_STYLE:= autogen
+
+libfastjson-install:
+ $(INSTALL_DIR) $(IDIR_LIBFASTJSON)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libfastjson*.so* \
+ $(IDIR_LIBFASTJSON)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk