/[gentoo-x86]/mail-filter/popfile/popfile-1.1.3.ebuild
Gentoo

Contents of /mail-filter/popfile/popfile-1.1.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Wed Jul 23 02:29:13 2014 UTC (5 years, 7 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Fix perl-digest virtual as it was packagemoved

(Portage version: 2.2.10/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/mail-filter/popfile/popfile-1.1.3.ebuild,v 1.6 2014/07/21 19:45:51 dilfridge Exp $
4
5 EAPI=5
6 inherit eutils
7
8 DESCRIPTION="Anti-spam bayesian filter"
9 HOMEPAGE="http://getpopfile.org"
10 SRC_URI="http://getpopfile.org/downloads/${P}.zip"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="cjk ipv6 mysql ssl xmlrpc"
16
17 RDEPEND="virtual/perl-Digest-MD5
18 virtual/perl-MIME-Base64
19 dev-perl/DBD-SQLite
20 dev-perl/HTML-Tagset
21 dev-perl/HTML-Template
22 dev-perl/TimeDate
23 dev-perl/DBI
24 virtual/perl-Digest
25 cjk? ( dev-perl/Encode-compat
26 dev-perl/Text-Kakasi )
27 mysql? ( dev-perl/DBD-mysql )
28 ipv6? ( dev-perl/IO-Socket-INET6 )
29 ssl? ( dev-libs/openssl
30 dev-perl/IO-Socket-SSL
31 dev-perl/Net-SSLeay )
32 xmlrpc? ( dev-perl/PlRPC )"
33
34 DEPEND="app-arch/unzip"
35
36 S="${WORKDIR}"
37
38 src_prepare() {
39 local f
40 for f in `find ./ -type f`; do
41 edos2unix "${f}"
42 done
43 }
44
45 src_install() {
46 dodoc *.change*
47 rm -rf *.change* license
48
49 insinto /usr/share/${PN}
50 doins -r *
51
52 fperms 755 /usr/share/${PN}/{popfile,insert,pipe,bayes}.pl
53
54 dosbin "${FILESDIR}"/${PN}
55 }

  ViewVC Help
Powered by ViewVC 1.1.20