wok-6.x annotate procmail/receipt @ rev 25493

Add libgnt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 19 17:37:48 2022 +0000 (23 months ago)
parents 51a1ebbda768
children
rev   line source
pascal@2261 1 # SliTaz package receipt.
pascal@2261 2
pascal@2261 3 PACKAGE="procmail"
pascal@2261 4 VERSION="3.22"
pascal@2261 5 CATEGORY="network"
pascal@2261 6 SHORT_DESC="mail processing and SmartList mailing list suites."
pascal@2261 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="GPL2"
pascal@2261 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2261 10 WEB_SITE="http://www.procmail.org/"
pascal@2261 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@2261 12 CONFIG_FILES="/etc/procmail*"
pascal@2261 13
pascal@24535 14 # What is the latest version available today?
pascal@24535 15 current_version()
pascal@24535 16 {
pascal@24535 17 wget -O - https://en.wikipedia.org/wiki/Procmail 2>/dev/null | \
pascal@24535 18 sed '/Final release/!d;s|.*release.*">||'
pascal@24535 19 }
pascal@24535 20
pascal@2261 21 # Rules to configure and make the package.
pascal@2261 22 compile_rules()
pascal@2261 23 {
pascal@2261 24 cd $src
pascal@4265 25 find -name '*.c' | xargs sed -i 's/getline/get_line/' src/formisc.h
pascal@2261 26 sed -i 's/exec <_autotst.rrr/cat _autotst.rrr |/' initmake
pascal@15375 27 yes '' | make VISIBLE_BINDIR=$DESTDIR/usr/bin
pascal@15375 28 make BINDIR=$DESTDIR/usr/bin install.bin
pascal@2261 29 }
pascal@2261 30
pascal@2261 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2261 32 genpkg_rules()
pascal@2261 33 {
pascal@15375 34 cp -a $install/usr $fs
pascal@2261 35 }
pascal@2261 36