blob: 961456fcbe39052e0f0986c97f487d8567a6260e (
plain)
1 # Description: Fast Bayesian spam filtering, using LMDB backend
2 # URL: https://gitlab.com/bogofilter/bogofilter
3 # Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
4 # Depends on: lmdb xmlto
5
6 name=bogofilter-lmdb
7 version=1.2.5
8 release=1
9 realn=bogofilter
10 source=(
11 https://downloads.sourceforge.net/project/\
12 ${realn}/${realn}-stable/${realn}-${version}.tar.xz
13 )
14
15 build() {
16 cd ${realn}-${version}
17
18 ./configure --prefix=/usr --sysconfdir=/usr/etc --with-database=lmdb
19 make DESTDIR="${PKG}" install
20
21 # Fix manual misconversion? a bit
22 for f in `find "${PKG}"/usr/share/man -type f`; do
23 sed -i -E -e 's/^[[:space:]]+(\.[[:alpha:]].+)$/\1/' "${f}"
24 done
25 }
26
27 # s-sh-mode
|