wok view rspamd/receipt @ rev 25555

Up gsoap (2.8.127)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 19 10:00:25 2023 +0000 (19 months ago)
parents 67a84b3df573
children 0262035dc1e7
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 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build
29 cd build
30 cmake .. \
31 -DCMAKE_INSTALL_PREFIX=/usr \
32 -DCONFDIR=/etc/rspamd &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs/
41 }