void-packages/srcpkgs/bogofilter/template

24 lines
759 B
Bash
Raw Normal View History

2015-07-24 11:45:16 +02:00
# Template file for 'bogofilter'
pkgname=bogofilter
version=1.2.4
2016-02-07 17:03:16 +01:00
revision=3
2015-07-24 11:45:16 +02:00
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname} --with-database=sqlite"
2016-02-07 17:03:16 +01:00
hostmakedepends="perl"
2015-07-24 11:45:16 +02:00
depends="perl"
makedepends="gsl-devel sqlite-devel"
short_desc="A fast Bayesian spam filtering tool"
maintainer="Gour <gour@atmarama.net>"
license="GPL-3"
homepage="http://bogofilter.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=d2f2598d1300307209b7b1905cc0637d2d053c0a4701a8d44383867299578471
conf_files="/etc/bogofilter/bogofilter.cf"
post_install() {
vinstall bogofilter.cf.example 644 etc/bogofilter bogofilter.cf
2015-07-26 14:29:57 +02:00
rm ${PKGDESTDIR}/etc/bogofilter/bogofilter.cf.example
2015-07-24 11:45:16 +02:00
vcopy contrib usr/share/contrib
}