wok view alpine/receipt @ rev 24170

updated otf-gfs
author Hans-G?nter Theisgen
date Wed Dec 29 07:55:54 2021 +0100 (2021-12-29)
parents 95e831780a4c
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="alpine"
4 VERSION="2.23"
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 }