wok-current view alpine/receipt @ rev 23595

updated qoauth (1.0 -> 2.0.0)
author Hans-G?nter Theisgen
date Wed Apr 08 14:40:29 2020 +0100 (2020-04-08)
parents f9ea4a4c7b87
children 5e0488ebbbb5
line source
1 # SliTaz package receipt.
3 PACKAGE="alpine"
4 VERSION="2.21"
5 CATEGORY="network"
6 TAGS="mail client"
7 SHORT_DESC="Fast, easy to use email client."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="Apache"
10 WEB_SITE="https://repo.or.cz/alpine.git"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://alpine.x10host.com/$PACKAGE/release/src/$TARBALL"
15 DEPENDS="libssl ncurses pam"
16 BUILD_DEPENDS="ncurses-dev openssl-dev pam-dev"
18 #HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --without-tcl \
25 --without-ldap \
26 --without-krb5 \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }
39 post_install()
40 {
41 # link old libldap libraries
42 cd "$1/usr/lib"
43 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
44 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
45 }
47 post_remove()
48 {
49 rm -f /usr/lib/liblber-2.3.so.0
50 rm -f /usr/lib/libldap-2.3.so.0
51 }