# HG changeset patch # User Pascal Bellard # Date 1573855997 -3600 # Node ID 3dedb87012b89eb7403ba86e0d17a0fa706c8ca2 # Parent 941f4a0a35942db53b1015e521912ec909ca6ec7 Add perl-netaddr-ip & spamassassin diff -r 941f4a0a3594 -r 3dedb87012b8 perl-netaddr-ip/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-netaddr-ip/receipt Fri Nov 15 23:13:17 2019 +0100 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="perl-netaddr-ip" +VERSION="4.079" +CATEGORY="development" +SHORT_DESC="NetAddr::IP module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Artistic" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="NetAddr-IP" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/" +WGET_URL="https://cpan.metacpan.org/authors/id/M/MI/MIKER/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs/ +} diff -r 941f4a0a3594 -r 3dedb87012b8 spamassassin/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/spamassassin/receipt Fri Nov 15 23:13:17 2019 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="spamassassin" +VERSION="3.4.2" +CATEGORY="network" +SHORT_DESC="anti-spam platform to classify email and block spam" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +TARBALL="Mail-SpamAssassin-$VERSION.tar.gz" +WEB_SITE="https://spamassassin.apache.org/" +WGET_URL="http://miroir.univ-lorraine.fr/apache//spamassassin/source/$TARBALL" +CONFIG_FILES="/etc/mail/spamassassin" + +DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip" +BUILD_DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip" + +# Rules to configure and make the package. +compile_rules() +{ + echo -n | perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs/ +}