ubusd: add an init script
[openwrt.git] / package / ubus / Makefile
index ae0fc04..d80309c 100644 (file)
@@ -1,15 +1,15 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ubus
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ubus
-PKG_VERSION:=2011-09-14
+PKG_VERSION:=2011-10-10
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://nbd.name/luci2/ubus.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
 PKG_RELEASE=$(PKG_SOURCE_VERSION)
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=git://nbd.name/luci2/ubus.git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=f86ec180c049f3344d18a2675ce95cdf7a7e62b7
+PKG_SOURCE_VERSION:=1ad3493658fe3a3782e51efe960c07549f117a28
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
-PKG_MIRROR_MD5SUM:=365bbaa3e6e72c7d417ee6b095cd8461
+PKG_MIRROR_MD5SUM:=e52e88902b3a065c168d1dbeeac5b4ce
 CMAKE_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
 CMAKE_INSTALL:=1
 
 include $(INCLUDE_DIR)/package.mk
@@ -46,7 +46,8 @@ define Package/ubus/install
 endef
 
 define Package/ubusd/install
 endef
 
 define Package/ubusd/install
-       $(INSTALL_DIR) $(1)/sbin
+       $(INSTALL_DIR) $(1)/sbin $(1)/etc/init.d
+       $(INSTALL_BIN) ./files/ubus.init $(1)/etc/init.d/ubus
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ubusd $(1)/sbin/
 endef
 
        $(CP) $(PKG_INSTALL_DIR)/usr/sbin/ubusd $(1)/sbin/
 endef
 
This page took 0.020694 seconds and 4 git commands to generate.