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-squid
  9. PKG_RELEASE:=20150608
  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-squid
  14. SECTION:=luci
  15. CATEGORY:=LuCI
  16. SUBMENU:=3. Applications
  17. TITLE:=Squid Web UI
  18. DEPENDS:=+luci-mod-admin-full +squid
  19. MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
  20. endef
  21. define Package/luci-app-squid/description
  22. This package will install Squid 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-squid/install
  31. $(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
  32. $(INSTALL_BIN) \
  33. ./files/squid-controller.lua \
  34. $(1)/usr/lib/lua/luci/controller/squid.lua
  35. $(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
  36. $(INSTALL_BIN) \
  37. ./files//squid-cbi.lua \
  38. $(1)/usr/lib/lua/luci/model/cbi/squid.lua
  39. endef
  40. $(eval $(call BuildPackage,luci-app-squid))