wok view alpine/receipt @ rev 5266

Up: libxml2 (2.7.7)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 14 00:06:41 2010 +0200 (2010-04-14)
parents 92e619926465
children c172de93d659
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 libcomerr3"
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 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
41 status
42 }
44 post_remove()
45 {
46 echo -n "Removing linked libraries..."
47 rm -f /usr/lib/liblber-2.3.so.0
48 rm -f /usr/lib/libldap-2.3.so.0
49 status
50 }