wok view alpine/receipt @ rev 15982

syslinux-tools: add meminfo.exe (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 01 19:54:32 2014 +0000 (2014-03-01)
parents 960c9aaca105
children cf41f989b6d2
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 LICENSE="Apache"
9 TARBALL="$PACKAGE.tar.gz"
10 WEB_SITE="http://www.washington.edu/alpine/"
11 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
12 TAGS="mail client"
14 DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3"
15 BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }
36 post_install()
37 {
38 # link old libldap libraries
39 echo -n "Linking libraries..."
40 cd $1/usr/lib
41 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
42 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
43 status
44 }
46 post_remove()
47 {
48 echo -n "Removing linked libraries..."
49 rm -f /usr/lib/liblber-2.3.so.0
50 rm -f /usr/lib/libldap-2.3.so.0
51 status
52 }