wok-current view alpine/receipt @ rev 5124

gtk+ openvas-scanner pango slitaz-base-files ttf-bitstream-vera xfree86-base-fonts xorg-base-fonts: remove spurrious SELF_INSTALL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 21 11:50:42 2010 +0100 (2010-03-21)
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 }