summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-05-14 20:35:05 +0000
committerNicolas Thill <nico@openwrt.org>2005-05-14 20:35:05 +0000
commitb6f0493fefe66909056a99634e1ecd514fea2f58 (patch)
treeb57327c5ecc5f828462f7cb5ad152d7ee1eb4462
parente7ab00396c372f0398f09b3c33b56429438cc0ac (diff)
downloadmtk-20170518-b6f0493fefe66909056a99634e1ecd514fea2f58.zip
mtk-20170518-b6f0493fefe66909056a99634e1ecd514fea2f58.tar.gz
mtk-20170518-b6f0493fefe66909056a99634e1ecd514fea2f58.tar.bz2
Convert chillispot to new packaging style
SVN-Revision: 895
-rw-r--r--openwrt/package/chillispot/Makefile3
-rw-r--r--openwrt/package/chillispot/files/chillispot.init (renamed from openwrt/package/chillispot/ipkg/chillispot.init)0
2 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/package/chillispot/Makefile b/openwrt/package/chillispot/Makefile
index e2be170..cacaee2 100644
--- a/openwrt/package/chillispot/Makefile
+++ b/openwrt/package/chillispot/Makefile
@@ -15,6 +15,7 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
include $(TOPDIR)/package/rules.mk
+
$(eval $(call PKG_template,CHILLISPOT,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
$(PKG_BUILD_DIR)/.configured:
@@ -60,7 +61,7 @@ $(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
$(IPKG_CHILLISPOT):
install -m0755 -d $(IDIR_CHILLISPOT)/etc/init.d
- install -m0755 ./ipkg/$(PKG_NAME).init $(IDIR_CHILLISPOT)/etc/init.d/chilli
+ install -m0755 ./files/$(PKG_NAME).init $(IDIR_CHILLISPOT)/etc/init.d/chilli
install -m0755 -d $(IDIR_CHILLISPOT)/etc
install -m0644 $(PKG_BUILD_DIR)/doc/chilli.conf $(IDIR_CHILLISPOT)/etc/
install -m0755 -d $(IDIR_CHILLISPOT)/usr/sbin
diff --git a/openwrt/package/chillispot/ipkg/chillispot.init b/openwrt/package/chillispot/files/chillispot.init
index 289b1fe..289b1fe 100644
--- a/openwrt/package/chillispot/ipkg/chillispot.init
+++ b/openwrt/package/chillispot/files/chillispot.init