wok view rspamd/receipt @ rev 25793
reverted version 4.14.1 to 4.12.0 for xfconf packages
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 15:16:12 2024 +0100 (7 days ago) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="rspamd"
4 VERSION="1.9.4"
5 CATEGORY="network"
6 TAGS="spam"
7 SHORT_DESC="Fast, free and open-source spam filtering system."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 WEB_SITE="https://rspamd.com/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/vstakhov/$PACKAGE/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="cmake glib-dev gmime-dev hiredis-dev icu-dev libevent-dev \
16 libmagic-dev lua-dev luajit-dev openssl-dev perl pkg-config \
17 ragel sqlite-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build
30 cd build
31 cmake .. \
32 -DCMAKE_INSTALL_PREFIX=/usr \
33 -DCONFDIR=/etc/rspamd &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cp -a $install/* $fs/
42 }