summaryrefslogtreecommitdiff
path: root/net/clamav
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2017-03-06 14:41:26 +0200
committerLucian Cristian <lucian.cristian@gmail.com>2017-03-06 22:45:18 +0200
commit33b8364f2d70827eb9b1057fbf1417f772fe7d77 (patch)
treeefe5febc19b0800cc08850e7580e15da235ffea1 /net/clamav
parenta252914544c410c7d77815ddd54729e1fe03b3cd (diff)
clamav: depend on musl-fts only when USE_MUSL
add me as a maintainer Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'net/clamav')
-rw-r--r--net/clamav/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/net/clamav/Makefile b/net/clamav/Makefile
index 180c4b3ea..5cd4487fd 100644
--- a/net/clamav/Makefile
+++ b/net/clamav/Makefile
@@ -12,11 +12,12 @@ PKG_VERSION:=0.99.2
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
-PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr>
+PKG_MAINTAINER:=Marko Ratkaj <marko.ratkaj@sartura.hr> \
+ Lucian Cristian <lucian.cristian@gmail.com>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.clamav.net/downloads/production/
-PKG_MD5SUM:=61b51a04619aeafd965892a53f86d192
+PKG_HASH:=167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
@@ -26,7 +27,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/clamav/Default
SECTION:=net
- DEPENDS:=+libpthread +uclibcxx +zlib +libcurl +libopenssl +libltdl +libpcre +musl-fts
+ DEPENDS:=+libpthread +uclibcxx +zlib +libcurl +libopenssl +libltdl +libpcre +USE_MUSL:musl-fts
CATEGORY:=Network
SUBMENU:=Web Servers/Proxies
TITLE:=ClamAV
@@ -58,7 +59,7 @@ endef
CONFIGURE_VARS += \
INCLUDES="" \
CXXFLAGS="$$$$CXXFLAGS -fno-rtti" \
- LIBS="-lpthread -lfts" \
+ $(if $(CONFIG_USE_MUSL),LIBS="-lpthread -lfts",LIBS="-lpthread") \
define Build/Configure
$(call Build/Configure/Default, \