SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "procmail"

# SliTaz package receipt.

PACKAGE="procmail"
VERSION="3.22"
CATEGORY="network"
SHORT_DESC="mail processing and SmartList mailing list suites."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.procmail.org/"
WGET_URL="${WEB_SITE}$TARBALL"
CONFIG_FILES="/etc/procmail*"

# What is the latest version available today?
current_version()
{
    wget -O - https://en.wikipedia.org/wiki/Procmail 2>/dev/null | \
    sed '/Final release/!d;s|.*release.*">||'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    find -name '*.c' | xargs sed -i 's/getline/get_line/' src/formisc.h
    sed -i 's/exec <_autotst.rrr/cat _autotst.rrr |/' initmake
    yes '' | make VISIBLE_BINDIR=$DESTDIR/usr/bin
    make BINDIR=$DESTDIR/usr/bin install.bin
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/usr $fs
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)