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