wok-current view procmail/receipt @ rev 25712

Use symlink for libxvmc-mesa
author Stanislas Leduc <shann@slitaz.org>
date Mon Jun 10 20:42:21 2024 +0000 (6 months ago)
parents 51a1ebbda768
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://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 }