wok-current view rspamd/receipt @ rev 24507

updated easy-rsa (3.0.6 -> 3.0.8)
author Hans-G?nter Theisgen
date Sun Feb 20 16:37:53 2022 +0100 (2022-02-20)
parents 67a84b3df573
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 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 }