![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for Boost Software License 1.0 is BSL-1.0. Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
804 B
Makefile
28 lines
804 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 = BSL-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))
|