/[gentoo-x86]/mail-filter/spamprobe/spamprobe-1.4d.ebuild
Gentoo

Contents of /mail-filter/spamprobe/spamprobe-1.4d.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sat Feb 26 17:05:15 2011 UTC (3 years, 4 months ago) by signals
Branch: MAIN
Changes since 1.6: +2 -2 lines
depend virtual/jpeg

(Portage version: 2.2.0_alpha25/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-filter/spamprobe/spamprobe-1.4d.ebuild,v 1.6 2011/01/10 20:17:37 flameeyes Exp $
4
5 EAPI=2
6 inherit eutils
7
8 DESCRIPTION="Fast, intelligent, automatic spam detector using Bayesian analysis."
9 HOMEPAGE="http://spamprobe.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11
12 LICENSE="QPL"
13 SLOT="0"
14 KEYWORDS="amd64 ~ppc x86"
15 IUSE="berkdb gif jpeg png"
16
17 DEPEND="berkdb? ( >=sys-libs/db-3.2 )
18 gif? ( media-libs/giflib )
19 jpeg? ( virtual/jpeg )
20 png? ( media-libs/libpng )"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${PN}-1.4b-gcc43.patch \
24 "${FILESDIR}"/${P}-libpng14.patch \
25 "${FILESDIR}"/${P}+db-5.0.patch
26 }
27
28 src_configure() {
29 econf \
30 $(use_with gif) \
31 $(use_with jpeg) \
32 $(use_with png)
33 }
34
35 src_install() {
36 emake DESTDIR="${D}" install || die
37 dodoc ChangeLog README.txt
38
39 insinto /usr/share/${PN}/contrib
40 doins contrib/* || die
41 }

  ViewVC Help
Powered by ViewVC 1.1.20