1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=luci-app-e2guardian
  9. PKG_RELEASE:=20150520
  10. PKG_LICENSE:=Apache-2.0
  11. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/luci-app-e2guardian
  14. SECTION:=luci
  15. CATEGORY:=LuCI
  16. SUBMENU:=3. Applications
  17. TITLE:=E2Guardian Web UI
  18. DEPENDS:=+luci-mod-admin-full +e2guardian
  19. MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
  20. endef
  21. define Package/luci-app-e2guardian/description
  22. This package will install E2Guardian Web UI.
  23. endef
  24. define Build/Prepare
  25. endef
  26. define Build/Configure
  27. endef
  28. define Build/Compile
  29. endef
  30. define Package/luci-app-e2guardian/install
  31. $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
  32. $(INSTALL_BIN) \
  33. ./files/e2guardian-controller.lua \
  34. $(1)/usr/lib/lua/luci/controller/e2guardian.lua
  35. $(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
  36. $(INSTALL_BIN) \
  37. ./files//e2guardian-cbi.lua \
  38. $(1)/usr/lib/lua/luci/model/cbi/e2guardian.lua
  39. endef
  40. $(eval $(call BuildPackage,luci-app-e2guardian))