b0209a99e9
kodi-pvr-iptvsimple as of
d27b3ed1d3
depends on rapidxml but expects the headers in usr/include/rapidxml
instead of usr/include.
This changes the install path to be consistent with Debian and Gentoo:
https://packages.debian.org/stretch/all/librapidxml-dev/filelist
https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/rapidxml/rapidxml-1.13-r1.ebuild#n22
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
29 lines
868 B
Makefile
29 lines
868 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) $(RAPIDXML_DL_DIR)/$(RAPIDXML_SOURCE)
|
|
mv $(@D)/rapidxml-$(RAPIDXML_VERSION)/* $(@D)/
|
|
rmdir $(@D)/rapidxml-$(RAPIDXML_VERSION)
|
|
endef
|
|
|
|
define RAPIDXML_INSTALL_STAGING_CMDS
|
|
mkdir -p $(STAGING_DIR)/usr/include/rapidxml
|
|
cp -dpfr $(@D)/*hpp $(STAGING_DIR)/usr/include/rapidxml
|
|
endef
|
|
|
|
$(eval $(generic-package))
|