usbredir: improve license description
[buildroot-gz.git] / package / rapidxml / rapidxml.mk
bloba76a21b4f57bc33b9e8252645621bcb231ecee0f
1 ################################################################################
3 # rapidxml
5 ################################################################################
7 RAPIDXML_VERSION = 1.13
8 RAPIDXML_SOURCE = rapidxml-$(RAPIDXML_VERSION).zip
9 RAPIDXML_SITE = http://downloads.sourceforge.net/project/rapidxml/rapidxml/rapidxml%20$(RAPIDXML_VERSION)
10 RAPIDXML_LICENSE = Boost Software License 1.0 or MIT
11 RAPIDXML_LICENSE_FILES = license.txt
13 # C++ headers only
14 RAPIDXML_INSTALL_TARGET = NO
15 RAPIDXML_INSTALL_STAGING = YES
17 define RAPIDXML_EXTRACT_CMDS
18 $(UNZIP) -d $(@D) $(DL_DIR)/$(RAPIDXML_SOURCE)
19 mv $(@D)/rapidxml-$(RAPIDXML_VERSION)/* $(@D)/
20 rmdir $(@D)/rapidxml-$(RAPIDXML_VERSION)
21 endef
23 define RAPIDXML_INSTALL_STAGING_CMDS
24 cp -dpfr $(@D)/*hpp $(STAGING_DIR)/usr/include
25 endef
27 $(eval $(generic-package))