2 # Copyright (C) 2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
10 PKG_NAME
:=luci-app-clamav
13 PKG_BUILD_DIR
:= $(BUILD_DIR
)/$(PKG_NAME
)
15 PKG_LICENSE
:=Apache-2.0
16 PKG_MAINTAINER
:=Marko Ratkaj
<marko.ratkaj@sartura.hr
>
18 include $(INCLUDE_DIR
)/package.mk
20 define Package
/luci-app-clamav
23 SUBMENU
:=3. Applications
25 DEPENDS
:=+luci-mod-admin-full
+clamav
28 define Package
/luci-app-clamav
/description
29 This package will
install ClamAV Web UI.
35 define Build
/Configure
41 define Package
/luci-app-clamav
/install
42 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
/luci
/controller
/
44 .
/files
/controller
/clamav-controller.lua \
45 $(1)/usr
/lib
/lua
/luci
/controller
/clamav.lua
47 $(INSTALL_DIR
) $(1)/usr
/lib
/lua
/luci
/model
/cbi
/
49 .
/files
/model
/cbi
/clamav-cbi.lua \
50 $(1)/usr
/lib
/lua
/luci
/model
/cbi
/clamav.lua
53 $(eval
$(call BuildPackage
,luci-app-clamav
))