No Description

Makefile 1.1KB

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