wok-current view rspamd/receipt @ rev 23846

created recipe for python-random2
author Hans-G?nter Theisgen
date Sat Jun 13 15:49:44 2020 +0100 (2020-06-13)
parents 4f4b9ab1fd70
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build
23 cd build
24 cmake .. \
25 -DCMAKE_INSTALL_PREFIX=/usr \
26 -DCONFDIR=/etc/rspamd &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs/
35 }