[Buildroot] [PATCH 1/1] rapidxml: new package
Baruch Siach
baruch at tkos.co.il
Mon Aug 3 19:57:42 UTC 2015
Hi Yonatan,
On Mon, Aug 03, 2015 at 09:04:14PM +0300, Jonathan Ben-Avraham wrote:
> +RAPIDXML_VERSION = 1.13
> +RAPIDXML_SOURCE = rapidxml-$(RAPIDXML_VERSION).zip
> +
> +#RAPIDXML_SITE = http://sourceforge.net/projects/rapidxml/files/latest/download
Please remove.
> +RAPIDXML_SITE = http://garr.dl.sourceforge.net/project/rapidxml/rapidxml/rapidxml%201.13/
Does
RAPIDXML_SITE = http://sourceforge.net/project/rapidxml/rapidxml/rapidxml%20$(RAPIDXML_VERSION)/
work?
> +RAPIDXML_LICENSE = MIT
> +RAPIDXML_LICENSE_FILES = license.txt
> +RAPIDXML_INSTALL_TARGET = NO
This needs an explanation comment. Is this a header only package?
> +RAPIDXML_INSTALL_STAGING = YES
> +
> +define RAPIDXML_EXTRACT_CMDS
> + $(UNZIP) -d $(@D) $(DL_DIR)/$(RAPIDXML_SOURCE)
> +endef
> +
> +define RAPIDXML_INSTALL_STAGING_CMDS
> + cp -dpfr $(@D)/rapidxml-$(RAPIDXML_VERSION)/*hpp $(STAGING_DIR)/usr/include
> +endef
> +
> +$(eval $(generic-package))
baruch
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list