diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-17 15:19:46 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2011-05-17 15:19:46 +0000 |
commit | b0a284c54a352bc7dd8e2b682b4f24ac5a4efee4 (patch) | |
tree | 69de6796d6a5f0452610d924d49251a197f0c2e7 | |
parent | 0b4ca9d768490a34b6bf737a58e642f66f5bb7aa (diff) | |
download | aports-b0a284c54a352bc7dd8e2b682b4f24ac5a4efee4.tar.bz2 aports-b0a284c54a352bc7dd8e2b682b4f24ac5a4efee4.tar.xz |
main/clamav: move lib into sub package
-rw-r--r-- | main/clamav/APKBUILD | 11 |
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 |