void-packages/srcpkgs/bogofilter/template

24 lines
759 B
Bash

# Template file for 'bogofilter'
pkgname=bogofilter
version=1.2.4
revision=4
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname} --with-database=sqlite"
hostmakedepends="perl"
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
}