void-packages/srcpkgs/bogofilter/template

24 lines
764 B
Bash

# Template file for 'bogofilter'
pkgname=bogofilter
version=1.2.5
revision=2
build_style=gnu-configure
configure_args="--sysconfdir=/etc/${pkgname} --with-database=sqlite"
hostmakedepends="perl"
makedepends="gsl-devel sqlite-devel"
depends="perl"
short_desc="Fast Bayesian spam filtering tool"
maintainer="Gour <gour@atmarama.net>"
license="GPL-3.0-only"
homepage="http://bogofilter.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=3248a1373bff552c500834adbea4b6caee04224516ae581fb25a4c6a6dee89ea
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
}