wok-6.x view getmail/receipt @ rev 24875

updated m4 (1.4.18 -> 1.4.19)
author Hans-G?nter Theisgen
date Thu Mar 31 10:07:36 2022 +0100 (2022-03-31)
parents ad8b9ff412d2
children 22471cbea549
line source
1 # SliTaz package receipt.
3 PACKAGE="getmail"
4 VERSION="5.16"
5 CATEGORY="network"
6 SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail."
7 MAINTAINER="claudinei@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://pyropus.ca/software/getmail"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/old-versions/$TARBALL"
14 DEPENDS="python"
15 BUILD_DEPENDS="python python-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build
28 python setup.py install --root=$DESTDIR || return 1
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cook_copy_folders bin
35 cook_copy_folders lib
36 }