opt/spamprobe/Pkgfile

28 lines
657 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Spam detection program that uses Bayesian analysis
2022-05-09 13:38:09 +02:00
# URL: http://spamprobe.sourceforge.net/
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: db
2006-02-23 16:26:10 +01:00
name=spamprobe
2007-01-08 07:36:05 +01:00
version=1.4d
2022-05-09 13:38:09 +02:00
release=9
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
2022-05-09 13:38:09 +02:00
64bit.patch compile-fixes.patch)
2006-02-23 16:26:10 +01:00
2022-05-09 13:38:09 +02:00
build() {
cd $SRC/$name-$version
2022-05-09 13:38:09 +02:00
# https://src.fedoraproject.org/rpms/spamprobe/tree/master
patch -p1 -i $SRC/64bit.patch
patch -p1 -i $SRC/compile-fixes.patch
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--enable-default-8-bit \
--without-{gif,jpeg,png}
make
make DESTDIR=$PKG install
2006-02-23 16:26:10 +01:00
}