wok view alpine/receipt @ rev 25491
Up foomatic-db-nonfree (20221116)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 17 12:13:24 2022 +0000 (23 months ago) |
parents | 180119c209e8 |
children | b81ceff0b056 |
line source
1 # SliTaz package receipt.
3 PACKAGE="alpine"
4 VERSION="2.26"
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="https://alpineapp.email/alpine/release/src/$TARBALL"
15 DEPENDS="libssl ncurses pam"
16 BUILD_DEPENDS="ncurses-dev openssl-dev pam-dev"
18 #HOST_ARCH="i486 arm"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - http://repo.or.cz/alpine.git/snapshot/ 2>/dev/null | \
24 sed '/Release version/!d;s|.*version ||;s|<.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --without-tcl \
32 --without-ldap \
33 --without-krb5 \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 }
46 post_install()
47 {
48 # link old libldap libraries
49 cd "$1/usr/lib"
50 ln -s liblber-2.4.so.2.4.2 liblber-2.3.so.0
51 ln -s libldap-2.4.so.2.4.2 libldap-2.3.so.0
52 }
54 post_remove()
55 {
56 rm -f /usr/lib/liblber-2.3.so.0
57 rm -f /usr/lib/libldap-2.3.so.0
58 }