wok-current annotate getmail/receipt @ rev 25601

use gcc49-lib-base for openldap-dev
author Stanislas Leduc <shann@slitaz.org>
date Fri Sep 01 12:04:33 2023 +0000 (16 months ago)
parents 22471cbea549
children
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"
pascal@25048 9 WEB_SITE="https://web.archive.org/web/20220520160205/https://pyropus.ca/software/getmail/"
Hans-G?nter@20962 10
claudinei@9163 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25028 12 WGET_URL="http://www.mirrorservice.org/pub/pkgsrc/distfiles/$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@25048 20 wget -O - ${WGET_URL%/*} 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 }