wok view rspamd/receipt @ rev 19365
bwm-ng: add bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 03 14:21:25 2016 +0200 (2016-08-03) |
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 }