summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2013-01-13 13:40:24 +0000
committerRalph Sennhauser <sera@gentoo.org>2013-01-13 13:40:24 +0000
commit69da76579ef78d1280a62f0e65a4cd6f4175bf68 (patch)
tree4f857f784599a1a11b9895845c0cf0ad24889acc /dev-java/sun-jimi
parentadd ~arm, bug #449762 (diff)
downloadgentoo-2-69da76579ef78d1280a62f0e65a4cd6f4175bf68.tar.gz
gentoo-2-69da76579ef78d1280a62f0e65a4cd6f4175bf68.tar.bz2
gentoo-2-69da76579ef78d1280a62f0e65a4cd6f4175bf68.zip
Fix Homepage and download url, thanks to Elisas Propst <mail@eliasprobst.eu>. #435802
LICENSE is now Oracle-BCLA-JavaSE. EAPI bump. (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 3C5CF75A)
Diffstat (limited to 'dev-java/sun-jimi')
-rw-r--r--dev-java/sun-jimi/ChangeLog12
-rw-r--r--dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild49
2 files changed, 59 insertions, 2 deletions
diff --git a/dev-java/sun-jimi/ChangeLog b/dev-java/sun-jimi/ChangeLog
index 66222a6bb81d..86e291be0593 100644
--- a/dev-java/sun-jimi/ChangeLog
+++ b/dev-java/sun-jimi/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-java/sun-jimi
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jimi/ChangeLog,v 1.13 2011/12/31 16:43:00 sera Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jimi/ChangeLog,v 1.14 2013/01/13 13:40:24 sera Exp $
+
+*sun-jimi-1.0-r3 (13 Jan 2013)
+
+ 13 Jan 2013; Ralph Sennhauser <sera@gentoo.org> +sun-jimi-1.0-r3.ebuild:
+ Fix Homepage and download url, thanks to Elisas Propst <mail@eliasprobst.eu>.
+ #435802
+ LICENSE is now Oracle-BCLA-JavaSE.
+ EAPI bump.
31 Dec 2011; Ralph Sennhauser <sera@gentoo.org> sun-jimi-1.0-r2.ebuild:
Drop ia64 support #345433
diff --git a/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild b/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild
new file mode 100644
index 000000000000..1af5c94a3daa
--- /dev/null
+++ b/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jimi/sun-jimi-1.0-r3.ebuild,v 1.1 2013/01/13 13:40:24 sera Exp $
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc"
+
+inherit java-pkg-2
+
+DESCRIPTION="Jimi is a class library for managing images."
+HOMEPAGE="http://www.oracle.com/technetwork/java/index.html"
+SRC_URI="jimi1_0.zip"
+
+LICENSE="Oracle-BCLA-JavaSE"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.3"
+DEPEND=">=virtual/jdk-1.3
+ app-arch/unzip"
+
+RESTRICT="fetch"
+
+S=${WORKDIR}/Jimi
+
+pkg_nofetch() {
+ local download_url="http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html#7259-jimi_sdk-1.0-oth-JPR"
+ einfo "Please download ${A} from the following url and place it in ${DISTDIR}"
+ einfo "${download_url} "
+}
+
+java_prepare() {
+ rm -r src/classes/* || die
+}
+
+src_compile() {
+ cd "${S}/src"
+ ejavac -classpath . -d classes $(cat main_classes.txt) || die "failes to compile"
+ jar -cf ${PN}.jar -C classes . || die "failed to create jar"
+}
+
+src_install() {
+ java-pkg_dojar src/${PN}.jar
+
+ dodoc Readme
+ use doc && java-pkg_dohtml -r docs/*
+}