wok annotate alpine/receipt @ rev 20432
Up python (2.7.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 31 13:12:47 2018 +0200 (2018-08-31) |
parents | f0a0b5091b4a |
children | f9ea4a4c7b87 |
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" |
al@19275 | 9 WEB_SITE="http://www.washington.edu/alpine/" |
paul@2337 | 10 TARBALL="$PACKAGE.tar.gz" |
paul@2337 | 11 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL" |
jozee@3563 | 12 TAGS="mail client" |
pankso@16109 | 13 #HOST_ARCH="i486 arm" |
paul@2337 | 14 |
pankso@16109 | 15 DEPENDS="libssl pam ncurses" |
pankso@16109 | 16 BUILD_DEPENDS="openssl-dev pam-dev ncurses-dev" |
pascal@15362 | 17 |
paul@2337 | 18 # Rules to configure and make the package. |
paul@2337 | 19 compile_rules() |
paul@2337 | 20 { |
paul@2337 | 21 ./configure \ |
pankso@16109 | 22 --without-tcl \ |
pankso@16109 | 23 --without-ldap \ |
pankso@16109 | 24 --without-krb5 \ |
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 |
al@18667 | 39 cd "$1/usr/lib" |
paul@4372 | 40 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0 |
paul@4377 | 41 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0 |
paul@4372 | 42 } |
paul@4372 | 43 |
paul@4372 | 44 post_remove() |
paul@4372 | 45 { |
paul@4372 | 46 rm -f /usr/lib/liblber-2.3.so.0 |
paul@4377 | 47 rm -f /usr/lib/libldap-2.3.so.0 |
paul@4372 | 48 } |