diff options
Diffstat (limited to 'openwrt/rhctl/Makefile')
-rw-r--r-- | openwrt/rhctl/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/openwrt/rhctl/Makefile b/openwrt/rhctl/Makefile index 80430cf..4b55152 100644 --- a/openwrt/rhctl/Makefile +++ b/openwrt/rhctl/Makefile @@ -13,12 +13,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rhctl PKG_VERSION:=0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://localhost/ -PKG_MD5SUM:=2e5fb8d8a6b075bcc8dde214a6d924e5 +PKG_MD5SUM:=8d693d1d4431eeeac383d5fde17c068f PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install @@ -30,7 +30,7 @@ define Package/rhctl TITLE:=Radio Helsinki control tools URL:=http://www.helsinki.at MAINTAINER:=Christian Pointner <equinox@helsinki.at> - DEPENDS:=+socat + DEPENDS:=+udev endef define Package/rhctl/conffiles @@ -71,8 +71,11 @@ define Package/rhctl/install $(INSTALL_BIN) $(PKG_BUILD_DIR)/serialclient $(1)/usr/bin/ $(INSTALL_BIN) ./files/rhctlsh $(1)/usr/bin/ $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/udev.init $(1)/etc/init.d/udev $(INSTALL_BIN) ./files/switchctl.init $(1)/etc/init.d/switchctl $(INSTALL_BIN) ./files/serialclient.init $(1)/etc/init.d/serialclient + $(INSTALL_DIR) $(1)/etc/udev/rules.d + $(INSTALL_DATA) ./files/udev.rules $(1)/etc/udev/rules.d/50-rhctl.rules endef $(eval $(call BuildPackage,rhctl)) |