wok-next view alpine/receipt @ rev 20459

Combine receipts
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 13:45:43 2018 +0200 (2018-03-02)
parents e6615350078d
children 31a5f8af77a8
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 WEB_SITE="http://www.washington.edu/alpine/"
10 TARBALL="$PACKAGE.tar.gz"
11 WGET_URL="ftp://ftp.cac.washington.edu/alpine/$TARBALL"
12 TAGS="mail client"
14 DEPENDS="openssl pam ncurses"
15 BUILD_DEPENDS="openssl-dev pam-dev ncurses-dev gfortran gettext"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --without-tcl \
22 --without-ldap \
23 --without-krb5 \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 }
35 post_install()
36 {
37 # link old libldap 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 }
43 post_remove()
44 {
45 rm -f /usr/lib/liblber-2.3.so.0
46 rm -f /usr/lib/libldap-2.3.so.0
47 }