2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=luci-app-e2guardian
13 PKG_LICENSE
:=Apache-2.0
15 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
17 include $(INCLUDE_DIR
)/package.mk
19 define Package
/luci-app-e2guardian
22 SUBMENU
:=3. Applications
23 TITLE
:=E2Guardian Web UI
24 DEPENDS
:=+luci-mod-admin-full
+e2guardian
25 MAINTAINER
:=Marko Ratkaj
<marko.ratkaj@sartura.hr
>
28 define Package
/luci-app-e2guardian
/description
29 This package will
install E2Guardian Web UI.
35 define Build
/Configure
41 define Package
/luci-app-e2guardian
/install
42 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
/luci
/controller
/
44 .
/files
/e2guardian-controller.lua \
45 $(1)/usr
/lib
/lua
/luci
/controller
/e2guardian.lua
47 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
/luci
/model
/cbi
/
49 .
/files
//e2guardian-cbi.lua \
50 $(1)/usr
/lib
/lua
/luci
/model
/cbi
/e2guardian.lua
53 $(eval
$(call BuildPackage
,luci-app-e2guardian
))