wok-stable view procmail/receipt @ rev 10728

Fixed all sourced slitaz-dev-tools receipts. The way cook works is it keeps the .hg folder when downloading mecurial sources. By downloading the $VERSION.tar.bz2 and renaming it $SOURCE-$VERSION.tar.bz2 we don't keep the .hg folder in source tarball. Repos will be backup on source dvd anyway so this does save a little bit of space.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 28 21:18:14 2011 +0000 (2011-05-28)
parents dd69f10813df
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.procmail.org/"
10 WGET_URL="${WEB_SITE}$TARBALL"
11 CONFIG_FILES="/etc/procmail*"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 find -name '*.c' | xargs sed -i 's/getline/get_line/' src/formisc.h
18 sed -i 's/exec <_autotst.rrr/cat _autotst.rrr |/' initmake
19 yes '' | make VISIBLE_BINDIR=$PWD/_pkg/usr/bin
20 make BINDIR=$PWD/_pkg/usr/bin install.bin
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }