usbip: move to github (closes #1259)
[feed/packages.git] / net / luci-app-e2guardian / Makefile
1 #
2 # Copyright (C) 2015 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=luci-app-e2guardian
11 PKG_RELEASE:=20150520
12
13 PKG_LICENSE:=Apache-2.0
14
15 PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/luci-app-e2guardian
20 SECTION:=luci
21 CATEGORY:=LuCI
22 SUBMENU:=3. Applications
23 TITLE:=E2Guardian Web UI
24 DEPENDS:=+luci-mod-admin-full +e2guardian
25 MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
26 endef
27
28 define Package/luci-app-e2guardian/description
29 This package will install E2Guardian Web UI.
30 endef
31
32 define Build/Prepare
33 endef
34
35 define Build/Configure
36 endef
37
38 define Build/Compile
39 endef
40
41 define Package/luci-app-e2guardian/install
42 $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
43 $(INSTALL_BIN) \
44 ./files/e2guardian-controller.lua \
45 $(1)/usr/lib/lua/luci/controller/e2guardian.lua
46
47 $(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
48 $(INSTALL_BIN) \
49 ./files//e2guardian-cbi.lua \
50 $(1)/usr/lib/lua/luci/model/cbi/e2guardian.lua
51 endef
52
53 $(eval $(call BuildPackage,luci-app-e2guardian))