wok annotate alpine/receipt @ rev 11206
Up libruby-extras (1.9.2-p180)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 11:11:08 2011 +0100 (2011-11-03) |
parents | c172de93d659 |
children | 617dbdeb6f7e |
rev | line source |
---|---|
paul@2337 | 1 # SliTaz package receipt. |
paul@2337 | 2 |
paul@2337 | 3 PACKAGE="alpine" |
paul@2337 | 4 VERSION="2.00" |
paul@2337 | 5 CATEGORY="network" |
paul@2337 | 6 SHORT_DESC="Fast, easy to use email client." |
paul@2337 | 7 MAINTAINER="paul@slitaz.org" |
erjo@8480 | 8 DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3" |
paul@3905 | 9 BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev" |
paul@2337 | 10 TARBALL="$PACKAGE.tar.gz" |
paul@2337 | 11 WEB_SITE="http://www.washington.edu/alpine/" |
paul@2337 | 12 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL" |
jozee@3563 | 13 TAGS="mail client" |
paul@2337 | 14 |
paul@2337 | 15 # Rules to configure and make the package. |
paul@2337 | 16 compile_rules() |
paul@2337 | 17 { |
paul@2337 | 18 cd $src |
paul@2337 | 19 ./configure \ |
paul@2337 | 20 --prefix=/usr \ |
paul@2337 | 21 --infodir=/usr/share/info \ |
paul@2337 | 22 --mandir=/usr/share/man \ |
paul@2337 | 23 $CONFIGURE_ARGS && |
paul@2337 | 24 make && make DESTDIR=$PWD/_pkg install |
paul@2337 | 25 } |
paul@2337 | 26 |
paul@2337 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2337 | 28 genpkg_rules() |
paul@2337 | 29 { |
paul@2337 | 30 mkdir -p $fs/usr |
paul@2337 | 31 cp -a $_pkg/usr/bin $fs/usr |
paul@2337 | 32 } |
paul@4372 | 33 |
paul@4372 | 34 post_install() |
paul@4372 | 35 { |
paul@4372 | 36 # link old libldap libraries |
paul@4372 | 37 echo -n "Linking libraries..." |
paul@4372 | 38 cd $1/usr/lib |
paul@4372 | 39 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0 |
paul@4377 | 40 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0 |
paul@4372 | 41 status |
paul@4372 | 42 } |
paul@4372 | 43 |
paul@4372 | 44 post_remove() |
paul@4372 | 45 { |
paul@4372 | 46 echo -n "Removing linked libraries..." |
paul@4372 | 47 rm -f /usr/lib/liblber-2.3.so.0 |
paul@4377 | 48 rm -f /usr/lib/libldap-2.3.so.0 |
paul@4372 | 49 status |
paul@4372 | 50 } |
paul@4372 | 51 |