From 6263c9f6bbdbbc952ea27ab332c7d8b661af9ad3 Mon Sep 17 00:00:00 2001 From: Gour Date: Fri, 24 Jul 2015 11:45:16 +0200 Subject: [PATCH] New package: bogofilter-1.2.4 --- srcpkgs/bogofilter/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/bogofilter/template diff --git a/srcpkgs/bogofilter/template b/srcpkgs/bogofilter/template new file mode 100644 index 00000000000..2c5b156308c --- /dev/null +++ b/srcpkgs/bogofilter/template @@ -0,0 +1,21 @@ +# Template file for 'bogofilter' +pkgname=bogofilter +version=1.2.4 +revision=1 +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 " +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 + vcopy contrib usr/share/contrib +}