2006-02-23 16:26:10 +01:00
|
|
|
# Description: Spam detection program that uses Bayesian analysis
|
|
|
|
# URL: http://spamprobe.sourceforge.net/
|
2008-07-11 09:29:19 +02:00
|
|
|
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=spamprobe
|
2007-01-08 07:36:05 +01:00
|
|
|
version=1.4d
|
2006-02-23 16:26:10 +01:00
|
|
|
release=1
|
|
|
|
source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz \
|
2006-11-09 17:19:32 +01:00
|
|
|
http://www.mission-base.com/peter/source/pbl_1_03.tar.gz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build () {
|
|
|
|
cd pbl_1_03
|
|
|
|
sed -i "/^CFLAGS/s/-O3/$CFLAGS/" makefile
|
|
|
|
make
|
|
|
|
|
|
|
|
cd $SRC/$name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--with-pbl=$SRC/pbl_1_03 \
|
|
|
|
--enable-default-8-bit
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|