wok view getmail/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (23 months ago)
parents da2fa84d09f5
children 76aba861a11e
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="http://www.mirrorservice.org/pub/pkgsrc/distfiles/$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 }