package/libhdhomerun: fix header install path
authorBernd Kuhls <bernd.kuhls@t-online.de>
Sat, 23 Jan 2016 09:44:56 +0000 (10:44 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 25 Jan 2016 22:16:08 +0000 (23:16 +0100)
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@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libhdhomerun/libhdhomerun.mk

index e3e5f064b2f28b3e7cc35556c7457240ae98042a..16e34c2383adb9c9d76d874bc974fdef2ae53ab4 100644 (file)
@@ -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