wok view re-alpine/receipt @ rev 25442

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 16:30:36 2022 +0000 (2022-09-02)
parents 86790a278e70
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="re-alpine"
4 VERSION="2.03"
5 CATEGORY="network"
6 SHORT_DESC="Re-alpine is the continuation of Alpine (a text-based email client)."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://sourceforge.net/projects/re-alpine/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="mail client"
14 DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3"
15 BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/re-alpine/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/re-alpine-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 touch libtoolT # configure wan't to remove it...
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --with-ssl-dir=/usr \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }