wok-current view fetchmail/receipt @ rev 25084
updated p4wn (1.0 -> 2.01)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:34:03 2022 +0100 (2022-06-15) |
parents | 63fe29e9a1a3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fetchmail"
4 VERSION="6.4.1"
5 CATEGORY="network"
6 TAGS="email"
7 SHORT_DESC="Mail retrieval and forwarding utility."
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.fetchmail.info/"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 HANDBOOK_URL="http://fetchmail.berlios.de/fetchmail-man.html"
17 DEPENDS="openssl"
18 BUILD_DEPENDS="openssl-dev"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://sourceforge.net/projects/fetchmail/files/ 2>/dev/null | \
24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
25 sed '/scope="row/!d;s|.*/fetchmail-||;s|.tar.*||;q'
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --with-ssl \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }