2015-08-05 06:46:23 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# rapidxml
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
RAPIDXML_VERSION = 1.13
|
|
|
|
RAPIDXML_SOURCE = rapidxml-$(RAPIDXML_VERSION).zip
|
2015-09-28 18:10:31 +02:00
|
|
|
RAPIDXML_SITE = http://downloads.sourceforge.net/project/rapidxml/rapidxml/rapidxml%20$(RAPIDXML_VERSION)
|
2017-03-30 15:43:46 +02:00
|
|
|
RAPIDXML_LICENSE = BSL-1.0 or MIT
|
2015-08-05 06:46:23 +02:00
|
|
|
RAPIDXML_LICENSE_FILES = license.txt
|
|
|
|
|
|
|
|
# C++ headers only
|
|
|
|
RAPIDXML_INSTALL_TARGET = NO
|
|
|
|
RAPIDXML_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
define RAPIDXML_EXTRACT_CMDS
|
2018-04-02 15:09:24 +02:00
|
|
|
$(UNZIP) -d $(@D) $(RAPIDXML_DL_DIR)/$(RAPIDXML_SOURCE)
|
2015-08-05 06:46:23 +02:00
|
|
|
mv $(@D)/rapidxml-$(RAPIDXML_VERSION)/* $(@D)/
|
|
|
|
rmdir $(@D)/rapidxml-$(RAPIDXML_VERSION)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define RAPIDXML_INSTALL_STAGING_CMDS
|
|
|
|
cp -dpfr $(@D)/*hpp $(STAGING_DIR)/usr/include
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|