8a33bc3ad9
[Thomas: - Rewrap Config.in help text - Indicate that the SHA256 hash has been locally calculated, and add the MD5 and SHA1 hashes from SourceForge. - Use downloads.sourceforge.net as the download site instead of garr.dl.sourceforge.net, in order to use the SourceForge mirrors properly, and be consistent with all other Buildroot packages downloading stuff from SourceForge. - Change the license from "MIT" to "Boost Software License 1.0 or MIT" as indicated by the license.txt file. - Change the <pkg>_EXTRACT_CMDS to remove the sub-directory created by the .zip file extraction, and simplify the staging installation step accordingly.] Signed-off-by: Jonathan Ben Avraham <yba@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
824 B
Makefile
28 lines
824 B
Makefile
################################################################################
|
|
#
|
|
# rapidxml
|
|
#
|
|
################################################################################
|
|
|
|
RAPIDXML_VERSION = 1.13
|
|
RAPIDXML_SOURCE = rapidxml-$(RAPIDXML_VERSION).zip
|
|
RAPIDXML_SITE = http://downloads.sourceforge.net/project/rapidxml/rapidxml/rapidxml%20$(RAPIDXML_VERSION)/
|
|
RAPIDXML_LICENSE = Boost Software License 1.0 or MIT
|
|
RAPIDXML_LICENSE_FILES = license.txt
|
|
|
|
# C++ headers only
|
|
RAPIDXML_INSTALL_TARGET = NO
|
|
RAPIDXML_INSTALL_STAGING = YES
|
|
|
|
define RAPIDXML_EXTRACT_CMDS
|
|
$(UNZIP) -d $(@D) $(DL_DIR)/$(RAPIDXML_SOURCE)
|
|
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))
|