wok view getmail/receipt @ rev 24590

syslinux: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 14:39:39 2022 +0000 (2022-02-28)
parents 5700c161e93e
children da2fa84d09f5
line source
1 # SliTaz package receipt.
3 PACKAGE="getmail"
4 VERSION="5.14"
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 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib $fs/usr
38 cp -a $install/usr/share/doc $fs/usr/share
39 }