[Buildroot] [git commit branch/next] rapidjson: bump to latest GitHub master

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Nov 18 13:21:41 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=30a208b9ef21a7b830b04e68828653407a7af1bd
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/next

RapidJSON is now hosted on GitHub and its latest version
includes many fixes and features added since 2012.

Signed-off-by: Philippe Proulx <eeppeliteloop at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/rapidjson/rapidjson.mk |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/package/rapidjson/rapidjson.mk b/package/rapidjson/rapidjson.mk
index 68e010e..ff516c4 100644
--- a/package/rapidjson/rapidjson.mk
+++ b/package/rapidjson/rapidjson.mk
@@ -4,27 +4,26 @@
 #
 ################################################################################
 
-RAPIDJSON_VERSION = 0.11
-RAPIDJSON_SOURCE = rapidjson-$(RAPIDJSON_VERSION).zip
-RAPIDJSON_SITE = http://rapidjson.googlecode.com/files
+RAPIDJSON_VERSION = 39f5eeb764c6d1e1cbff1717410d9710bf943009
+RAPIDJSON_SITE = $(call github,miloyip,rapidjson,$(RAPIDJSON_VERSION))
 RAPIDJSON_LICENSE = MIT
 RAPIDJSON_LICENSE_FILES = license.txt
 RAPIDJSON_INSTALL_TARGET = NO
 RAPIDJSON_INSTALL_STAGING = YES
 
-define RAPIDJSON_EXTRACT_CMDS
-	$(UNZIP) -d $(@D) $(DL_DIR)/$(RAPIDJSON_SOURCE)
-	mv $(@D)/rapidjson/* $(@D)
-	$(RM) -r $(@D)/rapidjson
-endef
-
 define RAPIDJSON_INSTALL_STAGING_CMDS
 	$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson
 	$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson/internal
+	$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson/error
+	$(INSTALL) -m 0755 -d $(STAGING_DIR)/usr/include/rapidjson/msinttypes
 	$(INSTALL) -m 0644 $(@D)/include/rapidjson/*.h \
 		$(STAGING_DIR)/usr/include/rapidjson
 	$(INSTALL) -m 0644 $(@D)/include/rapidjson/internal/*.h \
 		$(STAGING_DIR)/usr/include/rapidjson/internal
+	$(INSTALL) -m 0644 $(@D)/include/rapidjson/error/*.h \
+		$(STAGING_DIR)/usr/include/rapidjson/error
+	$(INSTALL) -m 0644 $(@D)/include/rapidjson/msinttypes/*.h \
+		$(STAGING_DIR)/usr/include/rapidjson/msinttypes
 endef
 
 $(eval $(generic-package))


More information about the buildroot mailing list