2008-05-08 15:37:41 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=luci-addons
|
|
|
|
PKG_VERSION:=0.2
|
|
|
|
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 Build/Compile
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
|
|
define Package/luci-addons
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
2008-05-25 17:00:30 +00:00
|
|
|
TITLE:=LuCI System Addons for Kamikaze
|
2008-05-08 15:37:41 +00:00
|
|
|
URL:=http://luci.freifunk-halle.net
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/luci-addons/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
|
|
$(INSTALL_DIR) $(1)/etc/crontabs
|
2008-06-14 15:14:15 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
2008-07-15 15:30:41 +00:00
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
2008-05-08 15:37:41 +00:00
|
|
|
|
|
|
|
$(INSTALL_BIN) ./dist/usr/bin/run-parts $(1)/usr/bin
|
2008-05-25 17:00:30 +00:00
|
|
|
$(INSTALL_BIN) ./dist/sbin/luci-flash $(1)/sbin
|
2008-07-19 14:18:03 +00:00
|
|
|
$(INSTALL_BIN) ./dist/sbin/luci-reload $(1)/sbin
|
2008-07-15 13:50:54 +00:00
|
|
|
$(INSTALL_BIN) ./dist/etc/init.d/luci_fixtime $(1)/etc/init.d
|
|
|
|
$(INSTALL_BIN) ./dist/etc/init.d/luci_ethers $(1)/etc/init.d
|
|
|
|
|
2008-07-15 15:30:41 +00:00
|
|
|
$(INSTALL_CONF) ./dist/etc/config/luci_ethers $(1)/etc/config
|
|
|
|
|
2008-05-08 15:37:41 +00:00
|
|
|
$(CP) ./dist/etc/crontabs/root $(1)/etc/crontabs/root
|
|
|
|
endef
|
|
|
|
|
2008-06-14 15:14:15 +00:00
|
|
|
$(eval $(call BuildPackage,luci-addons))
|