commit: dcc51f5cba120faa06e6a7587a1b632bad89ad71
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 5 09:49:37 2015 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sat Sep 5 09:49:37 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc51f5c
net-mail/Freemail: EAPI 5 bump. Bump bcprov SLOT to 1.38.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>
.../Freemail/{Freemail-9999.ebuild => Freemail-9999-r1.ebuild} | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/net-mail/Freemail/Freemail-9999.ebuild
b/net-mail/Freemail/Freemail-9999-r1.ebuild
similarity index 95%
rename from net-mail/Freemail/Freemail-9999.ebuild
rename to net-mail/Freemail/Freemail-9999-r1.ebuild
index f200d97..83ec9f5 100644
--- a/net-mail/Freemail/Freemail-9999.ebuild
+++ b/net-mail/Freemail/Freemail-9999-r1.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="2"
+EAPI="5"
EGIT_REPO_URI="git://github.com/freenet/plugin-Freemail-official.git
https://github.com/freenet/plugin-Freemail-official.git"
@@ -19,7 +19,7 @@ SLOT="0"
KEYWORDS=""
IUSE=""
-CDEPEND="dev-java/bcprov:0
+CDEPEND="dev-java/bcprov:1.38
net-p2p/freenet"
DEPEND="${CDEPEND}
>=virtual/jdk-1.5"
@@ -27,13 +27,14 @@ RDEPEND="${CDEPEND}
>=virtual/jre-1.5"
EANT_GENTOO_CLASSPATH="bcprov freenet"
+
src_prepare() {
epatch "${FILESDIR}"/build.patch
java-ant_rewrite-classpath
}
src_install() {
- java-pkg_dojar dist/Freemail.jar
+ java-pkg_dojar dist/"${PN}.jar"
dodir /var/freenet/plugins
fperms freenet:freenet /var/freenet/plugins
dodoc README || die "installation of documentation failed"