summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-20 09:59:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-20 10:00:20 +0000
commitfac7c755fc29f17863f69bf32b6a6eb096459b7e (patch)
tree4c359cc70fdb944dd26ea3056fafe32dd923b18b
parentb005e4a727877034113d1edbd1645616b8cc71f5 (diff)
downloadaports-fac7c755fc29f17863f69bf32b6a6eb096459b7e.tar.bz2
aports-fac7c755fc29f17863f69bf32b6a6eb096459b7e.tar.xz
main/clamav: add support for bzip2, fix replaces
-rw-r--r--main/clamav/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/clamav/APKBUILD b/main/clamav/APKBUILD
index a515a4023..f40c75365 100644
--- a/main/clamav/APKBUILD
+++ b/main/clamav/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=clamav
pkgver=0.97.3
-pkgrel=0
+pkgrel=1
pkgusers=clamav
pkggroups=clamav
pkgdesc="An anti-virus toolkit for UNIX"
@@ -11,7 +11,7 @@ arch="all"
license="GPL"
depends="$pkgname-scanner $pkgname-daemon"
install=""
-makedepends="ncurses-dev zlib-dev"
+makedepends="ncurses-dev zlib-dev bzip2-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-lib $pkgname-libunrar
$pkgname-daemon $pkgname-scanner $pkgname-db"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
@@ -54,6 +54,7 @@ package() {
lib() {
pkgdesc="ClamAV library"
depends=""
+ replaces="clamav"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libclamav.so.* \
"$subpkgdir"/usr/lib/