diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-08-03 04:03:41 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-08-03 04:03:41 +0000 |
commit | 1858eb72a16718ddab598f0c5a6ed348db20d530 (patch) | |
tree | 1b234d910e8fcba4cf22d4fcc30ab99d5eaf6cdd | |
parent | Version bump (diff) | |
download | gentoo-2-1858eb72a16718ddab598f0c5a6ed348db20d530.tar.gz gentoo-2-1858eb72a16718ddab598f0c5a6ed348db20d530.tar.bz2 gentoo-2-1858eb72a16718ddab598f0c5a6ed348db20d530.zip |
Revision bump to support the new Java system.
(Portage version: 2.1.1_pre4)
-rw-r--r-- | dev-java/sun-jimi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/sun-jimi/files/digest-sun-jimi-1.0-r1 | 2 | ||||
-rw-r--r-- | dev-java/sun-jimi/files/digest-sun-jimi-1.0-r2 | 3 | ||||
-rw-r--r-- | dev-java/sun-jimi/sun-jimi-1.0-r2.ebuild | 45 |
4 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/sun-jimi/ChangeLog b/dev-java/sun-jimi/ChangeLog index 17b8f59a422b..0a1174b41020 100644 --- a/dev-java/sun-jimi/ChangeLog +++ b/dev-java/sun-jimi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/sun-jimi # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jimi/ChangeLog,v 1.4 2006/02/17 20:08:14 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jimi/ChangeLog,v 1.5 2006/08/03 04:03:41 nichoj Exp $ + +*sun-jimi-1.0-r2 (03 Aug 2006) + + 03 Aug 2006; Joshua Nichols <nichoj@gentoo.org> +sun-jimi-1.0-r2.ebuild: + Revision bump to support the new Java system. 17 Feb 2006; Michael Hanselmann <hansmi@gentoo.org> sun-jimi-1.0-r1.ebuild: diff --git a/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r1 b/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r1 index ac0616b10a80..a7c67ec8e24f 100644 --- a/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r1 +++ b/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r1 @@ -1 +1,3 @@ MD5 9cf0b3422b4cbd88e57ee159bc29973f jimi1_0.zip 3880977 +RMD160 0acf60e06c2b9140884335c192739e5942d9382f jimi1_0.zip 3880977 +SHA256 06c193de5d78f2597191963c34cf306a960f7144759337264c1c60a3b3b8a0c4 jimi1_0.zip 3880977 diff --git a/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r2 b/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r2 new file mode 100644 index 000000000000..a7c67ec8e24f --- /dev/null +++ b/dev-java/sun-jimi/files/digest-sun-jimi-1.0-r2 @@ -0,0 +1,3 @@ +MD5 9cf0b3422b4cbd88e57ee159bc29973f jimi1_0.zip 3880977 +RMD160 0acf60e06c2b9140884335c192739e5942d9382f jimi1_0.zip 3880977 +SHA256 06c193de5d78f2597191963c34cf306a960f7144759337264c1c60a3b3b8a0c4 jimi1_0.zip 3880977 diff --git a/dev-java/sun-jimi/sun-jimi-1.0-r2.ebuild b/dev-java/sun-jimi/sun-jimi-1.0-r2.ebuild new file mode 100644 index 000000000000..d0cee5a84e4d --- /dev/null +++ b/dev-java/sun-jimi/sun-jimi-1.0-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/08/03 04:03:41 nichoj Exp $ + +inherit java-pkg-2 + +DESCRIPTION="Jimi is a class library for managing images." +HOMEPAGE="http://java.sun.com/products/jimi/" +SRC_URI="jimi1_0.zip" +LICENSE="sun-bcla-jimi" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.3" +RESTRICT="fetch" + +S=${WORKDIR}/Jimi + +DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=7259-jimi_sdk-1.0-oth-JPR&SiteId=JSC&TransactionId=noreg" + +pkg_nofetch() { + einfo "Please download ${A} from the following url and place it in ${DISTDIR}" + einfo "${DOWNLOAD_URL} " +} + +src_unpack() { + unpack ${A} + cd ${S} + rm -rf src/classes/* +} + +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/* +} |