wok-6.x view rspamd/receipt @ rev 18701

Up tazpkg(889)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 16 12:18:23 2015 +0200 (2015-12-16)
parents
children 4f4b9ab1fd70
line source
1 # SliTaz package receipt.
3 PACKAGE="rspamd"
4 VERSION="0.9.10"
5 CATEGORY="network"
6 SHORT_DESC="Fast, free and open-source spam filtering system."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://rspamd.com/"
11 WGET_URL="${WEB_SITE}downloads/$TARBALL"
12 TAGS="spam"
14 BUILD_DEPENDS="wget cmake perl pkg-config openssl-dev lua-dev glib-dev \
15 gmime-dev libevent-dev sqlite-dev hiredis-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir built
21 cd built
22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCONFDIR=/etc/rspamd .. &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/* $fs/
31 }