瀏覽代碼

package/rapidxml: fix install path

kodi-pvr-iptvsimple as of
https://github.com/kodi-pvr/pvr.iptvsimple/commit/d27b3ed1d379d2f865e95f08bdf2dbf086f8c0ad

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>
Bernd Kuhls 6 年之前
父節點
當前提交
b0209a99e9
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      package/rapidxml/rapidxml.mk

+ 2 - 1
package/rapidxml/rapidxml.mk

@@ -21,7 +21,8 @@ define RAPIDXML_EXTRACT_CMDS
 endef
 endef
 
 
 define RAPIDXML_INSTALL_STAGING_CMDS
 define RAPIDXML_INSTALL_STAGING_CMDS
-	cp -dpfr $(@D)/*hpp $(STAGING_DIR)/usr/include
+	mkdir -p $(STAGING_DIR)/usr/include/rapidxml
+	cp -dpfr $(@D)/*hpp $(STAGING_DIR)/usr/include/rapidxml
 endef
 endef
 
 
 $(eval $(generic-package))
 $(eval $(generic-package))