summaryrefslogtreecommitdiff
path: root/openwrt/rhctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/rhctl/Makefile')
-rw-r--r--openwrt/rhctl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/openwrt/rhctl/Makefile b/openwrt/rhctl/Makefile
index c5e7fca..80430cf 100644
--- a/openwrt/rhctl/Makefile
+++ b/openwrt/rhctl/Makefile
@@ -18,7 +18,7 @@ PKG_RELEASE:=1
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://localhost/
-PKG_MD5SUM:=1336f063117440c040663025110bf612
+PKG_MD5SUM:=2e5fb8d8a6b075bcc8dde214a6d924e5
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
@@ -27,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/rhctl
SECTION:=utils
CATEGORY:=Utilities
- TITLE:=radio helsinki control tools
+ TITLE:=Radio Helsinki control tools
URL:=http://www.helsinki.at
MAINTAINER:=Christian Pointner <equinox@helsinki.at>
DEPENDS:=+socat
@@ -58,16 +58,21 @@ define Build/Compile
CFLAGS="$(TARGET_CFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS) -ldl"
$(STRIP) $(PKG_BUILD_DIR)/switchctl
+ $(STRIP) $(PKG_BUILD_DIR)/serialclient
endef
define Package/rhctl/install
$(INSTALL_DIR) $(1)/etc/rhctl
$(INSTALL_DATA) ./files/switchctl.conf $(1)/etc/rhctl/
+ $(INSTALL_DIR) $(1)/etc/config
+ $(INSTALL_DATA) ./files/rhctl.config $(1)/etc/config/rhctl
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/switchctl $(1)/usr/bin/
+ $(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/switchctl.init $(1)/etc/init.d/switchctl
+ $(INSTALL_BIN) ./files/serialclient.init $(1)/etc/init.d/serialclient
endef
$(eval $(call BuildPackage,rhctl))