wok-next annotate procmail/receipt @ rev 16686
trigger slitaz-dev-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 19 17:35:09 2014 +0000 (2014-05-19) |
parents | c390c1a5e082 |
children | d5aab818505e |
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@15375 | 8 LICENSE="GPL2" |
pascal@2261 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2261 | 10 WEB_SITE="http://www.procmail.org/" |
pascal@2261 | 11 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@2261 | 12 CONFIG_FILES="/etc/procmail*" |
pascal@2261 | 13 |
pascal@2261 | 14 # Rules to configure and make the package. |
pascal@2261 | 15 compile_rules() |
pascal@2261 | 16 { |
pascal@2261 | 17 cd $src |
pascal@4265 | 18 find -name '*.c' | xargs sed -i 's/getline/get_line/' src/formisc.h |
pascal@2261 | 19 sed -i 's/exec <_autotst.rrr/cat _autotst.rrr |/' initmake |
pascal@15375 | 20 yes '' | make VISIBLE_BINDIR=$DESTDIR/usr/bin |
pascal@15375 | 21 make BINDIR=$DESTDIR/usr/bin install.bin |
pascal@2261 | 22 } |
pascal@2261 | 23 |
pascal@2261 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2261 | 25 genpkg_rules() |
pascal@2261 | 26 { |
pascal@15375 | 27 cp -a $install/usr $fs |
pascal@2261 | 28 } |
pascal@2261 | 29 |