summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-10-18 12:47:00 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-10-18 12:47:00 +0000
commit7cf0beaa0b1e5f486ac83963365265a65a1ab206 (patch)
tree90f0f14411c29851674d2d6d76cddd6bc1037157 /dev-java
parentAdd few arches (diff)
downloadgentoo-2-7cf0beaa0b1e5f486ac83963365265a65a1ab206.tar.gz
gentoo-2-7cf0beaa0b1e5f486ac83963365265a65a1ab206.tar.bz2
gentoo-2-7cf0beaa0b1e5f486ac83963365265a65a1ab206.zip
added prefix support (bug #435468)
(Portage version: 2.2.0_alpha141/cvs/Linux i686, signed Manifest commit with key C2000586)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/gnu-crypto/ChangeLog6
-rw-r--r--dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild27
2 files changed, 19 insertions, 14 deletions
diff --git a/dev-java/gnu-crypto/ChangeLog b/dev-java/gnu-crypto/ChangeLog
index 7f26f160a891..fc11fa7a515f 100644
--- a/dev-java/gnu-crypto/ChangeLog
+++ b/dev-java/gnu-crypto/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/gnu-crypto
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-crypto/ChangeLog,v 1.28 2012/01/01 18:05:56 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-crypto/ChangeLog,v 1.29 2012/10/18 12:47:00 ottxor Exp $
+
+ 18 Oct 2012; Christoph Junghans <ottxor@gentoo.org>
+ gnu-crypto-2.0.1-r2.ebuild:
+ added prefix support (bug #435468)
01 Jan 2012; Ralph Sennhauser <sera@gentoo.org> gnu-crypto-2.0.1-r2.ebuild:
Drop ia64 support #345433
diff --git a/dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild b/dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild
index b127c51efd4e..02a9a40bd79e 100644
--- a/dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild
+++ b/dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild,v 1.12 2012/01/01 18:05:56 sera Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-crypto/gnu-crypto-2.0.1-r2.ebuild,v 1.13 2012/10/18 12:47:00 ottxor Exp $
+EAPI=4
JAVA_PKG_IUSE="doc source"
inherit java-pkg-2 eutils
@@ -12,7 +13,7 @@ SRC_URI="ftp://ftp.gnupg.org/GnuPG/gnu-crypto/gnu-crypto-2.0.1.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd"
+KEYWORDS="amd64 ppc ppc64 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE=""
DEPEND=">=virtual/jdk-1.3"
@@ -20,25 +21,25 @@ RDEPEND=">=virtual/jre-1.3"
RESTRICT="test"
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
epatch "${FILESDIR}/${P}-jdk15.patch"
}
-src_compile() {
+src_configure() {
# jikes support disabled, doesnt work: #86655
- econf JAVAC="javac" JAVACFLAGS="$(java-pkg_javac-args)" --with-jce=yes --with-sasl=yes || die
- emake -j1 || die
+ econf JAVAC="javac" JAVACFLAGS="$(java-pkg_javac-args)" --with-jce=yes --with-sasl=yes
+}
+
+src_compile() {
+ emake -j1
if use doc ; then
- emake -j1 javadoc || die
+ emake -j1 javadoc
fi
}
src_install() {
- einstall || die
- rm "${D}"/usr/share/*.jar
+ einstall
+ rm "${ED}"/usr/share/*.jar
java-pkg_dojar source/gnu-crypto.jar
java-pkg_dojar jce/javax-crypto.jar
@@ -47,5 +48,5 @@ src_install() {
use doc && java-pkg_dojavadoc api
use source && java-pkg_dosrc source/* jce/* security/*
- dodoc AUTHORS ChangeLog NEWS README THANKS || die
+ dodoc AUTHORS ChangeLog NEWS README THANKS
}