/[gentoo-x86]/dev-java/bcmail/bcmail-1.45-r3.ebuild
Gentoo

Contents of /dev-java/bcmail/bcmail-1.45-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Aug 6 17:24:10 2015 UTC (4 years, 7 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Remove java-virtuals/javamail dependency and replace it with oracle-javamail. Also, convert two ebuilds to EAPI 5 and rely on java-pkg-simple to do away with hacks. Fixes bug 553186.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.45-r2.ebuild,v 1.1 2013/08/15 15:55:14 tomwij Exp $
4
5 EAPI=5
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-pkg-simple
10
11 MY_P="${PN}-jdk15-${PV/./}"
12 DESCRIPTION="Java cryptography APIs"
13 HOMEPAGE="http://www.bouncycastle.org/java.html"
14 SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="1.45"
18 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
19
20 CDEPEND="
21 dev-java/bcprov:${SLOT}
22 dev-java/junit:0
23 dev-java/sun-jaf:0
24 dev-java/oracle-javamail:0
25 "
26 DEPEND=">=virtual/jdk-1.6
27 app-arch/unzip
28 ${CDEPEND}"
29 RDEPEND=">=virtual/jre-1.6
30 ${CDEPEND}"
31 IUSE=""
32
33 S="${WORKDIR}/${MY_P}"
34
35 JAVA_GENTOO_CLASSPATH="
36 junit
37 sun-jaf
38 bcprov-${SLOT}
39 oracle-javamail
40 "
41
42 src_unpack() {
43 default
44 cd "${S}"
45 unpack ./src.zip
46 }
47
48 src_compile() {
49 java-pkg-simple_src_compile
50 }
51
52 src_install() {
53 java-pkg-simple_src_install
54 use source && java-pkg_dosrc org
55 }

  ViewVC Help
Powered by ViewVC 1.1.20