1 include $(TOPDIR
)/rules.mk
7 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
8 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
10 include $(INCLUDE_DIR
)/package.mk
12 define Package
/luci-splash
14 CATEGORY
:=Administration
16 DEPENDS
:=+ffluci
+iptables-mod-nat
17 TITLE
:=FFLuCI DHCP-Splash
23 define Package
/luci-splash
/install
24 $(INSTALL_DIR
) $(1)/usr
/lib
/luci-splash
/htdocs
25 $(INSTALL_DIR
) $(1)/etc
/config
26 $(INSTALL_DIR
) $(1)/etc
/crontabs
27 $(INSTALL_DIR
) $(1)/etc
/init.d
29 $(CP
) -a .
/src
/luci-splash
/* $(1)/usr
/lib
/luci-splash
/ -R
30 $(INSTALL_BIN
) .
/src
/luci-splash
/sync.lua
$(1)/usr
/lib
/luci-splash
31 $(INSTALL_BIN
) .
/src
/luci-splash
/htdocs
/cgi-bin
/index.cgi
$(1)/usr
/lib
/luci-splash
/htdocs
/cgi-bin
32 $(INSTALL_BIN
) .
/src
/luci_splash.init
$(1)/etc
/init.d
/luci_splash
34 $(CP
) -a .
/src
/luci_splash.cron
$(1)/etc
/crontabs
/luci_splash
35 $(CP
) -a .
/src
/luci_splash.uci
$(1)/etc
/config
/luci_splash
36 $(CP
) -a .
/src
/luci_splash_httpd.conf
$(1)/etc
/
38 $(CP
) -a .
/ipkg
/conffiles
$(1)/CONTROL
/conffiles
41 $(eval
$(call BuildPackage
,luci-splash
))