summaryrefslogtreecommitdiff
path: root/package/jsoncpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/jsoncpp/Makefile')
-rw-r--r--package/jsoncpp/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/jsoncpp/Makefile b/package/jsoncpp/Makefile
new file mode 100644
index 000000000..bd318c3f3
--- /dev/null
+++ b/package/jsoncpp/Makefile
@@ -0,0 +1,25 @@
+# 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:= jsoncpp
+PKG_VERSION:= 9cb88d2ca66af19c53a98843d159cc1d32ebaec6
+PKG_RELEASE:= 1
+PKG_DESCR:= c++ library for json
+PKG_SECTION:= libs/misc
+PKG_URL:= https://github.com/open-source-parsers/jsoncpp
+PKG_SITES:= https://github.com/open-source-parsers/jsoncpp.git
+PKG_OPTS:= dev
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,JSONCPP,jsoncpp,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= cmake
+CMAKE_FLAGS:= -DJSONCPP_WITH_TESTS=OFF -DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
+
+jsoncpp-install:
+ $(INSTALL_DIR) $(IDIR_JSONCPP)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk