mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
luci-app-clamav: add package
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
committed by
Luka Perkov
parent
f9507c02e0
commit
a39de9738a
@@ -0,0 +1,53 @@
|
||||
#
|
||||
# Copyright (C) 2015 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-clamav
|
||||
PKG_RELEASE:=20150520
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/luci-app-clamav
|
||||
SECTION:=luci
|
||||
CATEGORY:=LuCI
|
||||
SUBMENU:=3. Applications
|
||||
TITLE:=ClamAV Web UI
|
||||
DEPENDS:=+luci-mod-admin-full +clamav
|
||||
endef
|
||||
|
||||
define Package/luci-app-clamav/description
|
||||
This package will install ClamAV Web UI.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/luci-app-clamav/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
|
||||
$(INSTALL_BIN) \
|
||||
./files/controller/clamav-controller.lua \
|
||||
$(1)/usr/lib/lua/luci/controller/clamav.lua
|
||||
|
||||
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
|
||||
$(INSTALL_BIN) \
|
||||
./files/model/cbi/clamav-cbi.lua \
|
||||
$(1)/usr/lib/lua/luci/model/cbi/clamav.lua
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,luci-app-clamav))
|
||||
Reference in New Issue
Block a user