wok rev 22340

Add perl-netaddr-ip & spamassassin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 23:13:17 2019 +0100 (3 weeks ago)
parents 941f4a0a3594
children 6e1e85ecba3f
files perl-netaddr-ip/receipt spamassassin/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/perl-netaddr-ip/receipt	Fri Nov 15 23:13:17 2019 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="perl-netaddr-ip"
     1.7 +VERSION="4.079"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="NetAddr::IP module is a Perl extension."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="Artistic"
    1.12 +DEPENDS="perl"
    1.13 +BUILD_DEPENDS="perl"
    1.14 +SOURCE="NetAddr-IP"
    1.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 +WEB_SITE="http://www.cpan.org/modules/"
    1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIKER/$TARBALL"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	perl Makefile.PL &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$DESTDIR install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	cp -a $install/usr $fs/
    1.31 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/spamassassin/receipt	Fri Nov 15 23:13:17 2019 +0100
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="spamassassin"
     2.7 +VERSION="3.4.2"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="anti-spam platform to classify email and block spam"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="Apache"
    2.12 +TARBALL="Mail-SpamAssassin-$VERSION.tar.gz"
    2.13 +WEB_SITE="https://spamassassin.apache.org/"
    2.14 +WGET_URL="http://miroir.univ-lorraine.fr/apache//spamassassin/source/$TARBALL"
    2.15 +CONFIG_FILES="/etc/mail/spamassassin"
    2.16 +
    2.17 +DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip"
    2.18 +BUILD_DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	echo -n | perl Makefile.PL &&
    2.24 +	make &&
    2.25 +	make DESTDIR=$DESTDIR install
    2.26 +}
    2.27 +
    2.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.29 +genpkg_rules()
    2.30 +{
    2.31 +	cp -a $install/* $fs/
    2.32 +}