wok view alpine/receipt @ rev 4372

alpine: link shared libs
author Paul Issott <paul@slitaz.org>
date Sun Oct 11 12:00:33 2009 +0000 (2009-10-11)
parents 36ea9192b791
children 92e619926465
line source
1 # SliTaz package receipt.
3 PACKAGE="alpine"
4 VERSION="2.00"
5 CATEGORY="network"
6 SHORT_DESC="Fast, easy to use email client."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="openssl pam libldap cyrus-sasl ncurses krb5"
9 BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev"
10 TARBALL="$PACKAGE.tar.gz"
11 WEB_SITE="http://www.washington.edu/alpine/"
12 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
13 TAGS="mail client"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 }
34 post_install()
35 {
36 # link old libldap libraries
37 echo -n "Linking libraries..."
38 cd $1/usr/lib
39 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
40 status
41 }
43 post_remove()
44 {
45 echo -n "Removing linked libraries..."
46 rm -f /usr/lib/liblber-2.3.so.0
47 status
48 }