Bumped up uhub to version 0.3.2 and added an init script.
Index: net/uhub/Makefile
===================================================================
--- net/uhub/Makefile (revision 27292)
+++ net/uhub/Makefile (working copy)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009 OpenWrt.org
+# Copyright (C) 2011 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk

 PKG_NAME:=uhub
-PKG_VERSION:=0.2.8
+PKG_VERSION:=0.3.2
 PKG_RELEASE:=1

 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
 PKG_SOURCE_URL:=http://www.extatic.org/downloads/uhub/
-PKG_MD5SUM:=45d35d9757bc0a84297dec51520f725b
+PKG_MD5SUM:=1ac1e561779597577f96d21736750088

 include $(INCLUDE_DIR)/package.mk

@@ -33,10 +33,12 @@
 endef

 define Package/uhub/install
- $(INSTALL_DIR) $(1)/usr/local/bin
- $(INSTALL_BIN) $(PKG_BUILD_DIR)/uhub $(1)/usr/local/bin/
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/uhub $(1)/usr/bin/
  $(INSTALL_DIR) $(1)/etc/uhub/
  $(INSTALL_CONF) $(PKG_BUILD_DIR)/doc/uhub.conf $(1)/etc/uhub/
+ $(INSTALL_DIR) $(1)/etc/init.d/
+ $(INSTALL_BIN) files/uhub.init $(1)/etc/init.d/uhub
 endef

 $(eval $(call BuildPackage,uhub))
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to