wok-6.x annotate rspamd/receipt @ rev 23795
updated zsh (5.7.1 -> 5.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 13:48:01 2020 +0100 (2020-05-22) |
parents | 4f4b9ab1fd70 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@18372 | 1 # SliTaz package receipt. |
pascal@18372 | 2 |
pascal@18372 | 3 PACKAGE="rspamd" |
Hans-G?nter@21850 | 4 VERSION="1.9.4" |
pascal@18372 | 5 CATEGORY="network" |
Hans-G?nter@21562 | 6 TAGS="spam" |
pascal@18372 | 7 SHORT_DESC="Fast, free and open-source spam filtering system." |
pascal@18372 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18372 | 9 LICENSE="BSD" |
pascal@18372 | 10 WEB_SITE="https://rspamd.com/" |
pascal@18372 | 11 |
Hans-G?nter@21562 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21562 | 13 WGET_URL="https://github.com/vstakhov/$PACKAGE/archive/$VERSION.tar.gz" |
Hans-G?nter@21562 | 14 |
Hans-G?nter@21562 | 15 BUILD_DEPENDS="cmake glib-dev gmime-dev hiredis-dev icu-dev libevent-dev \ |
Hans-G?nter@21562 | 16 libmagic-dev lua-dev luajit-dev openssl-dev perl pkg-config \ |
Hans-G?nter@21562 | 17 ragel sqlite-dev" |
pascal@18372 | 18 |
pascal@18372 | 19 # Rules to configure and make the package. |
pascal@18372 | 20 compile_rules() |
pascal@18372 | 21 { |
Hans-G?nter@21850 | 22 mkdir build |
Hans-G?nter@21850 | 23 cd build |
Hans-G?nter@21562 | 24 cmake .. \ |
Hans-G?nter@21562 | 25 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@21562 | 26 -DCONFDIR=/etc/rspamd && |
pascal@18372 | 27 make && |
pascal@18372 | 28 make DESTDIR=$DESTDIR install |
pascal@18372 | 29 } |
pascal@18372 | 30 |
pascal@18372 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18372 | 32 genpkg_rules() |
pascal@18372 | 33 { |
pascal@18372 | 34 cp -a $install/* $fs/ |
pascal@18372 | 35 } |