wok-next annotate alpine/receipt @ rev 15490
Up: firefox-langpack-de (17.0.10esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 17 16:29:51 2013 +0100 (2013-11-17) |
parents | 960c9aaca105 |
children | cf41f989b6d2 |
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" |
pascal@15362 | 8 LICENSE="Apache" |
paul@2337 | 9 TARBALL="$PACKAGE.tar.gz" |
paul@2337 | 10 WEB_SITE="http://www.washington.edu/alpine/" |
paul@2337 | 11 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL" |
jozee@3563 | 12 TAGS="mail client" |
paul@2337 | 13 |
pascal@15362 | 14 DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3" |
pascal@15362 | 15 BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev" |
pascal@15362 | 16 |
paul@2337 | 17 # Rules to configure and make the package. |
paul@2337 | 18 compile_rules() |
paul@2337 | 19 { |
paul@2337 | 20 cd $src |
paul@2337 | 21 ./configure \ |
paul@2337 | 22 --prefix=/usr \ |
paul@2337 | 23 --infodir=/usr/share/info \ |
paul@2337 | 24 --mandir=/usr/share/man \ |
paul@2337 | 25 $CONFIGURE_ARGS && |
pascal@15362 | 26 make && make DESTDIR=$DESTDIR install |
paul@2337 | 27 } |
paul@2337 | 28 |
paul@2337 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@2337 | 30 genpkg_rules() |
paul@2337 | 31 { |
paul@2337 | 32 mkdir -p $fs/usr |
pascal@15362 | 33 cp -a $install/usr/bin $fs/usr |
paul@2337 | 34 } |
paul@4372 | 35 |
paul@4372 | 36 post_install() |
paul@4372 | 37 { |
paul@4372 | 38 # link old libldap libraries |
paul@4372 | 39 echo -n "Linking libraries..." |
paul@4372 | 40 cd $1/usr/lib |
paul@4372 | 41 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0 |
paul@4377 | 42 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0 |
paul@4372 | 43 status |
paul@4372 | 44 } |
paul@4372 | 45 |
paul@4372 | 46 post_remove() |
paul@4372 | 47 { |
paul@4372 | 48 echo -n "Removing linked libraries..." |
paul@4372 | 49 rm -f /usr/lib/liblber-2.3.so.0 |
paul@4377 | 50 rm -f /usr/lib/libldap-2.3.so.0 |
paul@4372 | 51 status |
paul@4372 | 52 } |
paul@4372 | 53 |