wok view spamassassin/receipt @ rev 25706
BootProg/boot32.asm: add int 21h services 02h, 09h, 25h, 35h
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 26 17:36:15 2024 +0000 (4 months ago) |
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 }