wok view procmail/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (8 months ago) |
parents | 7c0170dd3ecc |
children |
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://github.com/BuGlessRB/procmail/tags 2>/dev/null | \
18 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
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 }