wok-current view alpine/receipt @ rev 25087
Up alpine (2.26)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jun 17 09:35:48 2022 +0000 (2022-06-17) |
parents | b65543f4a4eb |
children | 1b47827a7c64 |
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.gz"
13 WGET_URL="https://repo.or.cz/alpine.git/snapshot/v$VERSION.tar.gz"
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 - ${WGET_URL%/*} 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 }