wok rev 18372

Add rspamd
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 16 18:50:42 2015 +0200 (2015-09-16)
parents cb1baa1e7ee4
children 07a2c1bb6027
files rspamd/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rspamd/receipt	Wed Sep 16 18:50:42 2015 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="rspamd"
     1.7 +VERSION="0.9.10"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Fast, free and open-source spam filtering system."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.13 +WEB_SITE="https://rspamd.com/"
    1.14 +WGET_URL="${WEB_SITE}downloads/$TARBALL"
    1.15 +TAGS="spam"
    1.16 +
    1.17 +BUILD_DEPENDS="wget cmake perl pkg-config openssl-dev lua-dev glib-dev \
    1.18 +gmime-dev libevent-dev sqlite-dev hiredis-dev"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	mkdir built
    1.24 +	cd built
    1.25 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCONFDIR=/etc/rspamd .. &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/* $fs/
    1.34 +}