wok-stable view alpine/receipt @ rev 8492
Add xorg-xproto to libsdl build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Feb 09 17:57:27 2011 +0000 (2011-02-09) |
parents | c172de93d659 |
children |
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="libssl pam libldap libsasl ncurses libkrb5 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 }