Op 15-02-12 07:38, Alain Kalker schreef:
Please also install the header files (there are a lot of them, and hdhomerun.h includes almost all of the others) so I would like to suggest using a subdirectory) and the shared library in the staging dir, so other packages (like dvbhdhomerun, which I am working on) can use them, like so:
define Build/InstallDev
    $(INSTALL_DIR) $(1)/usr/include/hdhomerun
    $(CP) $(PKG_BUILD_DIR)/*.h $(1)/usr/include/hdhomerun

    $(INSTALL_DIR) $(1)/usr/lib
    $(CP) $(PKG_BUILD_DIR)/libhdhomerun.so $(1)/usr/lib/
endef
-$(CP) $(PKG_BUILD_DIR)/libhdhomerun.so $(1)/usr/lib/
+$(CP) $(PKG_BUILD_DIR)/libhdhomerun.so $(1)/usr/lib

i.e. no need for that final slash, cleaner that way, sorry

Kind regards,

Alain
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to