SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "getmail"

# SliTaz package receipt.

PACKAGE="getmail"
VERSION="5.16"
CATEGORY="network"
SHORT_DESC="A simple mail retrieval agent intended as a replacement for fetchmail."
MAINTAINER="claudinei@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://web.archive.org/web/20220520160205/https://pyropus.ca/software/getmail/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://www.mirrorservice.org/pub/pkgsrc/distfiles/$TARBALL"

DEPENDS="python"
BUILD_DEPENDS="python python-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    python setup.py build
    python setup.py install --root=$DESTDIR || return 1
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)