wok-next annotate rspamd/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | d43bf7aae921 |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
pascal@18372 | 2 |
pascal@18372 | 3 PACKAGE="rspamd" |
pascal@18372 | 4 VERSION="0.9.10" |
pascal@18372 | 5 CATEGORY="network" |
al@21020 | 6 SHORT_DESC="Fast, free and open-source spam filtering system" |
pascal@18372 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18372 | 8 LICENSE="BSD" |
al@21020 | 9 WEB_SITE="https://rspamd.com/" |
al@21020 | 10 |
pascal@18372 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@18372 | 12 WGET_URL="${WEB_SITE}downloads/$TARBALL" |
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 |
al@21020 | 17 compile_rules() { |
pascal@18372 | 18 mkdir built |
al@21020 | 19 cd built |
al@21020 | 20 cmake \ |
al@21020 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@21020 | 22 -DCONFDIR=/etc/rspamd \ |
al@21020 | 23 .. && |
pascal@18372 | 24 make && |
al@21020 | 25 make DESTDIR=$install install |
pascal@18372 | 26 } |
pascal@18372 | 27 |
al@21020 | 28 genpkg_rules() { |
pascal@18372 | 29 cp -a $install/* $fs/ |
al@21020 | 30 TAGS="spam" |
pascal@18372 | 31 } |