[Buildroot] [PATCH 2/3] package/libhdhomerun: fix header install path
Bernd Kuhls
bernd.kuhls at t-online.de
Sat Jan 23 09:44:56 UTC 2016
Header files are expected to be installed in usr/include/libhdhomerun/
https://packages.debian.org/sid/i386/libhdhomerun-dev/filelist
https://github.com/tvheadend/tvheadend/blob/master/src/input/mpegts/tvhdhomerun/tvhdhomerun_private.h#L27
This patch will fix a build error with hdhomerun support enabled in
tvheadend.
Signed-off-by: Bernd Kuhls <bernd.kuhls at t-online.de>
---
package/libhdhomerun/libhdhomerun.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libhdhomerun/libhdhomerun.mk b/package/libhdhomerun/libhdhomerun.mk
index e3e5f06..16e34c2 100644
--- a/package/libhdhomerun/libhdhomerun.mk
+++ b/package/libhdhomerun/libhdhomerun.mk
@@ -19,8 +19,9 @@ endef
define LIBHDHOMERUN_INSTALL_STAGING_CMDS
$(INSTALL) -D -m 0755 $(@D)/libhdhomerun.so \
$(STAGING_DIR)/usr/lib/libhdhomerun.so
+ mkdir -p $(STAGING_DIR)/usr/include/libhdhomerun/
$(INSTALL) -m 0644 $(@D)/*.h \
- $(STAGING_DIR)/usr/include/
+ $(STAGING_DIR)/usr/include/libhdhomerun/
endef
define LIBHDHOMERUN_INSTALL_TARGET_CMDS
--
2.7.0.rc3
More information about the buildroot
mailing list