wok-6.x view spamassassin/receipt @ rev 24696
updated kamailio (5.3.2 -> 5.5.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 13 17:05:22 2022 +0100 (2022-03-13) |
parents | 3ae2d1f7b186 |
children | d765616e1f3d |
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="http://miroir.univ-lorraine.fr/apache//spamassassin/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 }