Blame view

buildroot/buildroot-2016.08.1/package/rapidxml/rapidxml.mk 823 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  ################################################################################
  #
  # 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))