[vlc-devel] [PATCH 3/4] contrib: add jsoncpp
Adrien Maglo
magsoft at videolan.org
Fri Aug 1 11:22:08 CEST 2014
---
contrib/src/jsoncpp/rules.mak | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 contrib/src/jsoncpp/rules.mak
diff --git a/contrib/src/jsoncpp/rules.mak b/contrib/src/jsoncpp/rules.mak
new file mode 100644
index 0000000..4dc5cf1
--- /dev/null
+++ b/contrib/src/jsoncpp/rules.mak
@@ -0,0 +1,27 @@
+# jsoncpp
+
+JSONCPP_GITURL := git://github.com/open-source-parsers/jsoncpp.git
+JSONCPP_VERSION := git
+
+PKGS += jsoncpp
+#DEPS_jsoncpp = ?
+
+$(TARBALLS)/jsoncpp-$(JSONCPP_VERSION).tar.xz:
+ $(call download_git,$(JSONCPP_GITURL))
+
+.sum-jsoncpp: jsoncpp-$(JSONCPP_VERSION).tar.xz
+ $(warning $@ not implemented)
+ touch $@
+
+jsoncpp: jsoncpp-$(JSONCPP_VERSION).tar.xz .sum-jsoncpp
+ $(UNPACK)
+ $(MOVE)
+
+.jsoncpp: jsoncpp
+ cd $< && $(HOSTVARS_PIC) $(CMAKE) \
+ -DCMAKE_BUILD_TYPE=release \
+ -DJSONCPP_LIB_BUILD_SHARED=OFF \
+ -G "Unix Makefiles"
+ cd $< && $(MAKE) install
+ touch $@
+
--
1.9.1
More information about the vlc-devel
mailing list