aboutsummaryrefslogtreecommitdiffstats
path: root/main/imap/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-09 10:58:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-09 10:58:00 +0000
commitd793607f978fc5d916fe480986ad9b48d48aa88f (patch)
treee3661510ab9aa2b5a068dd1d40b19af739a6f37d /main/imap/APKBUILD
parentd4eef9a7ec08bc223eee4301cf07ab138e92d198 (diff)
downloadaports-d793607f978fc5d916fe480986ad9b48d48aa88f.tar.bz2
aports-d793607f978fc5d916fe480986ad9b48d48aa88f.tar.xz
main/imap: only dynamic c-client lib
Diffstat (limited to 'main/imap/APKBUILD')
-rw-r--r--main/imap/APKBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/main/imap/APKBUILD b/main/imap/APKBUILD
index c117421eff..f7c788c2c0 100644
--- a/main/imap/APKBUILD
+++ b/main/imap/APKBUILD
@@ -5,7 +5,7 @@
# build it shared
pkgname=imap
pkgver=2007e
-pkgrel=2
+pkgrel=3
pkgdesc="An IMAP/POP server"
url="http://www.washington.edu/imap"
license="APACHE"
@@ -49,8 +49,6 @@ package() {
install -D -m644 c-client/$i.h \
"$pkgdir"/usr/include/imap/$i.h
done
- install -D -m644 c-client/c-client.a "$pkgdir"/usr/lib/c-client.a
- ln -sf c-client.a "$pkgdir"/usr/lib/libc-client.a
}
cclient() {
@@ -58,8 +56,9 @@ cclient() {
cd "$srcdir"/$pkgname-$pkgver
install -Dm755 c-client/libc-client.so.1.0.0 \
"$subpkgdir"/usr/lib/libc-client.so.1.0.0
- # generate symlinks
- ldconfig -r "$subpkgdir" -N -n usr/lib
+ cd "$subpkgdir"/usr/lib
+ ln -s libc-client.so.1.0.0 libc-client.so.1
+ ln -s libc-client.so.1.0.0 libc-client.so
}
md5sums="7903800dc2604000016de070e0c55840 imap-2007e.tar.gz
7f3937a871edd54203fe51f91423e204 c-client-2006k_GENTOO_amd64-so-fix.patch