summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/Makefile
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2009-11-17 15:35:15 (GMT)
committerChristian Pointner <equinox@helsinki.at>2009-11-17 15:35:15 (GMT)
commitb1ae0fb1e45f4d6cc79200b30b18a7aac0f9b7de (patch)
tree69ed56187e94ca1ecd2cef2a082aef769dc05eac /openwrt/rhctl/Makefile
parent0e5843d0ab4bed1a8bf9afb11834b4cc71d11adf (diff)
added dependency to udev and init script for it
removed dependency to socat (not working anyway) some fixes at openwrt package
Diffstat (limited to 'openwrt/rhctl/Makefile')
-rw-r--r--openwrt/rhctl/Makefile9
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))