kumquat-buildroot/package/rapidjson/rapidjson.mk
Thomas De Schampheleire eb7bd9ef61 packages: remove uninstall commands
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-06 09:40:40 +01:00

31 lines
972 B
Makefile

################################################################################
#
# rapidjson
#
################################################################################
RAPIDJSON_VERSION = 0.11
RAPIDJSON_SOURCE = rapidjson-$(RAPIDJSON_VERSION).zip
RAPIDJSON_SITE = http://rapidjson.googlecode.com/files
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 0644 $(@D)/include/rapidjson/*.h \
$(STAGING_DIR)/usr/include/rapidjson
$(INSTALL) -m 0644 $(@D)/include/rapidjson/internal/*.h \
$(STAGING_DIR)/usr/include/rapidjson/internal
endef
$(eval $(generic-package))