wok-6.x annotate rspamd/receipt @ rev 19853
Remove tazchroot (not used for yearsand unusable)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 16 18:35:33 2017 +0100 (2017-03-16) |
parents | |
children | 4f4b9ab1fd70 |
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 |
pascal@18372 | 14 BUILD_DEPENDS="wget cmake perl pkg-config openssl-dev lua-dev glib-dev \ |
pascal@18372 | 15 gmime-dev libevent-dev sqlite-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 } |