void-packages/srcpkgs/bogofilter/template
2015-07-26 14:29:57 +02:00

22 lines
736 B
Bash

# Template file for 'bogofilter'
pkgname=bogofilter
version=1.2.4
revision=2
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname} --with-database=sqlite"
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
rm ${PKGDESTDIR}/etc/bogofilter/bogofilter.cf.example
vcopy contrib usr/share/contrib
}