wok view alpine/receipt @ rev 24534

updated faac and faac-dev (1.29.9.2 -> 1.30)
author Hans-G?nter Theisgen
date Wed Feb 23 11:28:45 2022 +0100 (2022-02-23)
parents 9af0e03b8ad0
children b65543f4a4eb
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed '/alpine/!d;/tar/!d;s|.*alpine-||;s|.tar.*||' | sort -Vr | sed 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 }