summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2021-05-12 12:57:58 +0200
committerUlrich Müller <ulm@gentoo.org>2021-05-13 18:12:09 +0200
commit950d04f9d9e1a4f2f028a6e57208e2f21ba0d736 (patch)
treeb0a221b19d97349f19af83598b04247ee917c848 /mail-filter/spamprobe/spamprobe-1.4d-r2.ebuild
parentdev-tex/hevea: Update LICENSE (diff)
downloadgentoo-950d04f9d9e1a4f2f028a6e57208e2f21ba0d736.tar.gz
gentoo-950d04f9d9e1a4f2f028a6e57208e2f21ba0d736.tar.bz2
gentoo-950d04f9d9e1a4f2f028a6e57208e2f21ba0d736.zip
mail-filter/spamprobe: Update LICENSE
QPL and QPL-1.0 are duplicates. Bug: https://bugs.gentoo.org/789666 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'mail-filter/spamprobe/spamprobe-1.4d-r2.ebuild')
-rw-r--r--mail-filter/spamprobe/spamprobe-1.4d-r2.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/mail-filter/spamprobe/spamprobe-1.4d-r2.ebuild b/mail-filter/spamprobe/spamprobe-1.4d-r2.ebuild
new file mode 100644
index 00000000000..dfe97b87b27
--- /dev/null
+++ b/mail-filter/spamprobe/spamprobe-1.4d-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Fast, intelligent, automatic spam detector using Bayesian analysis"
+HOMEPAGE="http://spamprobe.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="QPL-1.0"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE="berkdb gif jpeg png"
+
+RDEPEND="
+ berkdb? ( >=sys-libs/db-3.2:* )
+ gif? ( media-libs/giflib:= )
+ jpeg? ( virtual/jpeg:0 )
+ png? ( media-libs/libpng:0= )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.4b-gcc43.patch
+ "${FILESDIR}"/${P}-libpng14.patch
+ "${FILESDIR}"/${P}+db-5.0.patch
+ "${FILESDIR}"/${P}-gcc47.patch
+ "${FILESDIR}"/${P}-giflib5.patch
+)
+
+src_configure() {
+ econf \
+ $(use_with gif) \
+ $(use_with jpeg) \
+ $(use_with png)
+}
+
+src_install() {
+ default
+ insinto /usr/share/${PN}/contrib
+ doins contrib/*
+}