This adds packages libhdhomerun and hdhomerun_config. Signed-off-by: Artur Twarecki <open...@twarecki.ca>
Index: package/libhdhomerun/Makefile =================================================================== --- package/libhdhomerun/Makefile (revision 0) +++ package/libhdhomerun/Makefile (revision 0) @@ -0,0 +1,61 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=libhdhomerun +PKG_RELEASE:=1 +PKG_SOURCE_URL:=http://download.silicondust.com/hdhomerun +PKG_VERSION:=20111025 +PKG_MD5SUM:=e833204b9d8f1b311bd9be5666edb890 +PKG_BUILD_DIR:=$(BUILD_DIR)/libhdhomerun +PKG_CAT=zcat + +PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tgz + +include $(INCLUDE_DIR)/package.mk + +define Package/libhdhomerun + SECTION:=libs + CATEGORY:=Libraries + TITLE:=HDHomeRun library + URL:=http://www.silicondust.com + DEPENDS:=+libpthread +librt +endef + +define Package/libhdhomerun/description + Package/libhdhomerun/description +endef + +define Package/hdhomerun_config + SECTION:=utils + CATEGORY:=Utilities + TITLE:=HDHomeRun configuration utility + URL:=http://www.silicondust.com + DEPENDS:=+libpthread +librt +endef + +define Package/hdhomerun_config/description + Package/hdhomerun_config/description +endef + +CONFIGURE_ARGS += \ + --with-linux-headers="$(LINUX_DIR)" \ + +define Package/libhdhomerun/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_BUILD_DIR)/libhdhomerun.so $(1)/usr/lib/ +endef + +define Package/hdhomerun_config/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/hdhomerun_config $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,libhdhomerun)) +$(eval $(call BuildPackage,hdhomerun_config)) _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel