wok-6.x annotate procmail/receipt @ rev 5960
gcc: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 05 21:27:52 2010 +0200 (2010-08-05) |
parents | dd69f10813df |
children | 51a1ebbda768 |
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@2261 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2261 | 9 WEB_SITE="http://www.procmail.org/" |
pascal@2261 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2261 | 11 CONFIG_FILES="/etc/procmail*" |
pascal@2261 | 12 |
pascal@2261 | 13 # Rules to configure and make the package. |
pascal@2261 | 14 compile_rules() |
pascal@2261 | 15 { |
pascal@2261 | 16 cd $src |
pascal@4265 | 17 find -name '*.c' | xargs sed -i 's/getline/get_line/' src/formisc.h |
pascal@2261 | 18 sed -i 's/exec <_autotst.rrr/cat _autotst.rrr |/' initmake |
pascal@2261 | 19 yes '' | make VISIBLE_BINDIR=$PWD/_pkg/usr/bin |
pascal@2261 | 20 make BINDIR=$PWD/_pkg/usr/bin install.bin |
pascal@2261 | 21 } |
pascal@2261 | 22 |
pascal@2261 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2261 | 24 genpkg_rules() |
pascal@2261 | 25 { |
pascal@2261 | 26 cp -a $_pkg/usr $fs |
pascal@2261 | 27 } |
pascal@2261 | 28 |