summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/ffluci-system-addons/Makefile
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-04-27 11:04:48 +0000
committerSteven Barth <steven@midlink.org>2008-04-27 11:04:48 +0000
commit706da44cf275dc20426a55a4d01ed79026d3eb80 (patch)
treef0cfced76009f7548a79d211a84fcb171079f028 /contrib/package/ffluci-system-addons/Makefile
parentf917c0bb6445794cc94ff895f430db84a9e77ea2 (diff)
* Reworked Luci-Splash
* Created ffluci-system-addons package for Kamikaze addons
Diffstat (limited to 'contrib/package/ffluci-system-addons/Makefile')
-rw-r--r--contrib/package/ffluci-system-addons/Makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/contrib/package/ffluci-system-addons/Makefile b/contrib/package/ffluci-system-addons/Makefile
new file mode 100644
index 000000000..3d38bd36c
--- /dev/null
+++ b/contrib/package/ffluci-system-addons/Makefile
@@ -0,0 +1,32 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=ffluci-system-addons
+PKG_VERSION:=0.1
+PKG_RELEASE:=1
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
+PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/ffluci-splash
+ SECTION:=admin
+ CATEGORY:=Administration
+ SUBMENU:=FFLuCI
+ TITLE:=FFLuCI System Addons for Kamikaze
+endef
+
+define Build/Compile
+endef
+
+define Package/ffluci-system-addons/install
+ $(INSTALL_DIR) $(1)/usr/bin
+ $(INSTALL_DIR) $(1)/etc/crontabs
+ $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
+
+ $(INSTALL_BIN) ./src/run-parts $(1)/usr/bin
+ $(CP) ./src/root.crontab $(1)/etc/crontabs/root
+ $(CP) ./src/hotplug.d-20-aliases $(1)/etc/hotplug.d/iface/20-aliases
+endef
+
+$(eval $(call BuildPackage,ffluci-system-addons))