aboutsummaryrefslogtreecommitdiffstats
path: root/main/clamav
diff options
context:
space:
mode:
Diffstat (limited to 'main/clamav')
-rw-r--r--main/clamav/APKBUILD11
1 files changed, 9 insertions, 2 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index 23469af639..36a7ee5924 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.97
-pkgrel=1
+pkgrel=2
pkgusers=clamav
pkggroups=clamav
pkgdesc="An anti-virus toolkit for UNIX"
@@ -12,7 +12,7 @@ license="GPL"
depends="logrotate"
install="$pkgname.pre-install $pkgname.post-install $pkgname.pre-upgrade"
makedepends="ncurses-dev zlib-dev"
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-lib"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
clamd.initd
clamd.confd
@@ -77,6 +77,13 @@ package() {
mkdir -p "$pkgdir"/var/run/clamav "$pkgdir"/var/log/clamav
}
+lib() {
+ pkgdesc="ClamAV library"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libclamav.so.* \
+ "$subpkgdir"/usr/lib/
+}
+
md5sums="605ed132b2f8e89df11064adea2b183b clamav-0.97.tar.gz
d64432c463850663c5041c3097f3e903 clamd.initd
567bc32b657dd7031b9b7beaa946203a clamd.confd