c-client: correct library symlink
This commit is contained in:
parent
f26fecd3d1
commit
b0b4d2c2a2
|
@ -1,10 +1,10 @@
|
|||
# Template build file for 'c-client'
|
||||
pkgname=c-client
|
||||
version=2007f
|
||||
revision=1
|
||||
revision=2
|
||||
short_desc="IMAP client library"
|
||||
maintainer="John Regan <john@jrjrtech.com>"
|
||||
license="Apache"
|
||||
license="Apache-2.0"
|
||||
homepage="http://www.washington.edu/imap"
|
||||
distfiles="ftp://ftp.cac.washington.edu/imap/imap-${version}.tar.gz"
|
||||
checksum="53e15a2b5c1bc80161d42e9f69792a3fa18332b7b771910131004eb520004a28"
|
||||
|
@ -26,6 +26,7 @@ do_build() {
|
|||
|
||||
do_install() {
|
||||
install -D -m755 c-client/libc-client.so.1.0.0 $DESTDIR/usr/lib/libc-client.so.1.0.0
|
||||
ln -sf libc-client.so.1.0.0 $PKGDESTDIR/usr/lib/libc-client.so.1
|
||||
}
|
||||
|
||||
c-client-devel_package() {
|
||||
|
@ -34,8 +35,7 @@ c-client-devel_package() {
|
|||
pkg_install() {
|
||||
install -D -m644 c-client/c-client.a $PKGDESTDIR/usr/lib/c-client.a
|
||||
ln -sf c-client.a $PKGDESTDIR/usr/lib/libc-client.a
|
||||
ln -sf /usr/lib/libc-client.so.1.0.0 $PKGDESTDIR/usr/lib/libc-client.so
|
||||
ln -sf /usr/lib/libc-client.so.1.0.0 $PKGDESTDIR/usr/lib/libc-client.so.1
|
||||
ln -sf libc-client.so.1.0.0 $PKGDESTDIR/usr/lib/libc-client.so
|
||||
for i in c-client mail imap4r1 rfc822 linkage misc smtp nntp \
|
||||
osdep env_unix env fs ftl nl tcp sslio utf8 utf8aux; do
|
||||
install -D -m644 c-client/${i}.h $PKGDESTDIR/usr/include/imap/${i}.h
|
||||
|
|
Loading…
Reference in New Issue