* Fixed Makefile
[project/luci.git] / contrib / package / ffluci-system-addons / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=ffluci-system-addons
4 PKG_VERSION:=0.1
5 PKG_RELEASE:=1
6
7 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
8 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
9
10 include $(INCLUDE_DIR)/package.mk
11
12 define Package/ffluci-system-addons
13 SECTION:=admin
14 CATEGORY:=Administration
15 SUBMENU:=FFLuCI
16 TITLE:=FFLuCI System Addons for Kamikaze
17 endef
18
19 define Build/Compile
20 endef
21
22 define Package/ffluci-system-addons/install
23 $(INSTALL_DIR) $(1)/usr/bin
24 $(INSTALL_DIR) $(1)/etc/crontabs
25 $(INSTALL_DIR) $(1)/etc/hotplug.d/iface
26
27 $(INSTALL_BIN) ./src/run-parts $(1)/usr/bin
28 $(CP) ./src/root.crontab $(1)/etc/crontabs/root
29 $(CP) ./src/hotplug.d-20-aliases $(1)/etc/hotplug.d/iface/20-aliases
30 endef
31
32 $(eval $(call BuildPackage,ffluci-system-addons))