wok view spamassassin/receipt @ rev 25083
updated p11-kit and p11-kit-dev (0.23.20 -> 0.24.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:22:15 2022 +0100 (2022-06-15) |
parents | 934055de50e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="spamassassin"
4 VERSION="3.4.4"
5 CATEGORY="network"
6 SHORT_DESC="anti-spam platform to classify email and block spam"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="Mail-SpamAssassin-$VERSION.tar.gz"
10 WEB_SITE="https://spamassassin.apache.org/"
11 WGET_URL="https://archive.apache.org/dist/$PACKAGE/source/$TARBALL"
12 CONFIG_FILES="/etc/mail/spamassassin"
14 DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip"
15 BUILD_DEPENDS="perl-net-dns perl-html-parser perl-netaddr-ip"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/Mail-SpamAssassin-[0-9]/!d;/tar/!d;s|.*Mail-SpamAssassin-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 echo -n | perl Makefile.PL &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs/
36 }