wok annotate getmail/receipt @ rev 24988

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