opt/spamprobe/Pkgfile

27 lines
743 B
Plaintext
Raw Normal View History

2006-02-23 16:26:10 +01:00
# Description: Spam detection program that uses Bayesian analysis
# URL: http://spamprobe.sourceforge.net/
2011-02-02 13:44:37 +01:00
# Maintainer: Juergen Daubert, jue at crux dot nu
2010-10-11 13:21:11 +02:00
# Depends on: db
2006-02-23 16:26:10 +01:00
name=spamprobe
2007-01-08 07:36:05 +01:00
version=1.4d
release=8
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.gz
64bit.patch compile-fixes.patch)
2006-02-23 16:26:10 +01:00
build () {
cd $SRC/$name-$version
# 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}
2006-02-23 16:26:10 +01:00
make
make DESTDIR=$PKG install
}