wok-next annotate rspamd/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 2809ecb8c754
children d5aab818505e
rev   line source
pascal@18372 1 # SliTaz package receipt.
pascal@18372 2
pascal@18372 3 PACKAGE="rspamd"
pascal@18372 4 VERSION="0.9.10"
pascal@18372 5 CATEGORY="network"
pascal@18372 6 SHORT_DESC="Fast, free and open-source spam filtering system."
pascal@18372 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18372 8 LICENSE="BSD"
pascal@18372 9 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@18372 10 WEB_SITE="https://rspamd.com/"
pascal@18372 11 WGET_URL="${WEB_SITE}downloads/$TARBALL"
pascal@18372 12 TAGS="spam"
pascal@18372 13
al@20513 14 BUILD_DEPENDS="cmake perl openssl-dev lua-dev glib-dev \
pascal@20098 15 gmime-dev libevent-dev sqlite3-dev hiredis-dev"
pascal@18372 16
pascal@18372 17 # Rules to configure and make the package.
pascal@18372 18 compile_rules()
pascal@18372 19 {
pascal@18372 20 mkdir built
pascal@18372 21 cd built
pascal@18372 22 cmake -DCMAKE_INSTALL_PREFIX=/usr -DCONFDIR=/etc/rspamd .. &&
pascal@18372 23 make &&
pascal@18372 24 make DESTDIR=$DESTDIR install
pascal@18372 25 }
pascal@18372 26
pascal@18372 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18372 28 genpkg_rules()
pascal@18372 29 {
pascal@18372 30 cp -a $install/* $fs/
pascal@18372 31 }