From 30a208b9ef21a7b830b04e68828653407a7af1bd Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Mon, 17 Nov 2014 23:23:53 -0500 Subject: [PATCH] rapidjson: bump to latest GitHub master RapidJSON is now hosted on GitHub and its latest version includes many fixes and features added since 2012. Signed-off-by: Philippe Proulx Signed-off-by: Thomas Petazzoni --- package/rapidjson/rapidjson.mk | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/package/rapidjson/rapidjson.mk b/package/rapidjson/rapidjson.mk index 68e010ede1..ff516c4120 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)) -- 2.30.2