wok-6.x annotate spamassassin/receipt @ rev 22340
Add perl-netaddr-ip & spamassassin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 15 23:13:17 2019 +0100 (2019-11-15) |
parents | |
children | 3ae2d1f7b186 |
rev | line source |
---|---|
pascal@22340 | 1 # SliTaz package receipt. |
pascal@22340 | 2 |
pascal@22340 | 3 PACKAGE="spamassassin" |
pascal@22340 | 4 VERSION="3.4.2" |
pascal@22340 | 5 CATEGORY="network" |
pascal@22340 | 6 SHORT_DESC="anti-spam platform to classify email and block spam" |
pascal@22340 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@22340 | 8 LICENSE="Apache" |
pascal@22340 | 9 TARBALL="Mail-SpamAssassin-$VERSION.tar.gz" |
pascal@22340 | 10 WEB_SITE="https://spamassassin.apache.org/" |
pascal@22340 | 11 WGET_URL="http://miroir.univ-lorraine.fr/apache//spamassassin/source/$TARBALL" |
pascal@22340 | 12 CONFIG_FILES="/etc/mail/spamassassin" |
pascal@22340 | 13 |
pascal@22340 | 14 DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip" |
pascal@22340 | 15 BUILD_DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip" |
pascal@22340 | 16 |
pascal@22340 | 17 # Rules to configure and make the package. |
pascal@22340 | 18 compile_rules() |
pascal@22340 | 19 { |
pascal@22340 | 20 echo -n | perl Makefile.PL && |
pascal@22340 | 21 make && |
pascal@22340 | 22 make DESTDIR=$DESTDIR install |
pascal@22340 | 23 } |
pascal@22340 | 24 |
pascal@22340 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@22340 | 26 genpkg_rules() |
pascal@22340 | 27 { |
pascal@22340 | 28 cp -a $install/* $fs/ |
pascal@22340 | 29 } |