diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-27 14:58:58 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-27 14:58:58 +0000 |
commit | b878696efcb8f897019a5cec0fa81b35321d7189 (patch) | |
tree | 484abe96d0f5f1d2ee6e5fd8ff503841b222b9df /app-misc/jdictionary | |
parent | Revision bump to support new Java system. (diff) | |
download | gentoo-2-b878696efcb8f897019a5cec0fa81b35321d7189.tar.gz gentoo-2-b878696efcb8f897019a5cec0fa81b35321d7189.tar.bz2 gentoo-2-b878696efcb8f897019a5cec0fa81b35321d7189.zip |
Revision bump to support new Java system.
(Portage version: 2.1.1_pre3-r5)
Diffstat (limited to 'app-misc/jdictionary')
-rw-r--r-- | app-misc/jdictionary/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/jdictionary/files/digest-jdictionary-1.8 | 2 | ||||
-rw-r--r-- | app-misc/jdictionary/files/digest-jdictionary-1.8-r1 | 2 | ||||
-rw-r--r-- | app-misc/jdictionary/files/digest-jdictionary-1.8-r2 | 3 | ||||
-rw-r--r-- | app-misc/jdictionary/jdictionary-1.8-r2.ebuild | 40 |
5 files changed, 55 insertions, 2 deletions
diff --git a/app-misc/jdictionary/ChangeLog b/app-misc/jdictionary/ChangeLog index ef7a25b119cc..73d4d46b945a 100644 --- a/app-misc/jdictionary/ChangeLog +++ b/app-misc/jdictionary/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-misc/jdictionary -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.12 2005/08/16 19:23:35 blubb Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.13 2006/07/27 14:58:58 nichoj Exp $ + +*jdictionary-1.8-r2 (27 Jul 2006) + + 27 Jul 2006; Joshua Nichols <nichoj@gentoo.org> + +jdictionary-1.8-r2.ebuild: + Revision bump to support new Java system. 16 Aug 2005; Simon Stelling <blubb@gentoo.org> jdictionary-1.8-r1.ebuild: stable on amd64 diff --git a/app-misc/jdictionary/files/digest-jdictionary-1.8 b/app-misc/jdictionary/files/digest-jdictionary-1.8 index 5b50c99f3d43..9a9b93c60d77 100644 --- a/app-misc/jdictionary/files/digest-jdictionary-1.8 +++ b/app-misc/jdictionary/files/digest-jdictionary-1.8 @@ -1 +1,3 @@ MD5 772db6e0e65eb987318d6878d0796a9c jdictionary-1_8.zip 467815 +RMD160 63f406797cbf7371068cf42ea7a77ba5ea89a320 jdictionary-1_8.zip 467815 +SHA256 0243ca1031e6bbdb3f12c10b7f2d267ce9a213e934af775aeb008e2e2a6db826 jdictionary-1_8.zip 467815 diff --git a/app-misc/jdictionary/files/digest-jdictionary-1.8-r1 b/app-misc/jdictionary/files/digest-jdictionary-1.8-r1 index 5b50c99f3d43..9a9b93c60d77 100644 --- a/app-misc/jdictionary/files/digest-jdictionary-1.8-r1 +++ b/app-misc/jdictionary/files/digest-jdictionary-1.8-r1 @@ -1 +1,3 @@ MD5 772db6e0e65eb987318d6878d0796a9c jdictionary-1_8.zip 467815 +RMD160 63f406797cbf7371068cf42ea7a77ba5ea89a320 jdictionary-1_8.zip 467815 +SHA256 0243ca1031e6bbdb3f12c10b7f2d267ce9a213e934af775aeb008e2e2a6db826 jdictionary-1_8.zip 467815 diff --git a/app-misc/jdictionary/files/digest-jdictionary-1.8-r2 b/app-misc/jdictionary/files/digest-jdictionary-1.8-r2 new file mode 100644 index 000000000000..9a9b93c60d77 --- /dev/null +++ b/app-misc/jdictionary/files/digest-jdictionary-1.8-r2 @@ -0,0 +1,3 @@ +MD5 772db6e0e65eb987318d6878d0796a9c jdictionary-1_8.zip 467815 +RMD160 63f406797cbf7371068cf42ea7a77ba5ea89a320 jdictionary-1_8.zip 467815 +SHA256 0243ca1031e6bbdb3f12c10b7f2d267ce9a213e934af775aeb008e2e2a6db826 jdictionary-1_8.zip 467815 diff --git a/app-misc/jdictionary/jdictionary-1.8-r2.ebuild b/app-misc/jdictionary/jdictionary-1.8-r2.ebuild new file mode 100644 index 000000000000..e6aac54d5fb0 --- /dev/null +++ b/app-misc/jdictionary/jdictionary-1.8-r2.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/jdictionary-1.8-r2.ebuild,v 1.1 2006/07/27 14:58:58 nichoj Exp $ + +inherit java-pkg-2 eutils + +DESCRIPTION="A online Java-based dictionary" +HOMEPAGE="http://jdictionary.sourceforge.net/" +SRC_URI="mirror://sourceforge/jdictionary/jdictionary-${PV/./_}.zip" + +IUSE="" +SLOT="0" +LICENSE="LGPL-2.1" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" + +RDEPEND=">=virtual/jre-1.3" +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip" +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + cd ${S} + mkdir compiled + + jar xf ${PN}.jar || die "failed to unpack jar" + cp -r resources compiled +} + +src_compile() { + ejavac -classpath . $(find . -name \*.java) -d compiled || die "failed to build" + jar cf ${PN}.jar -C compiled . || die "failed to make jar" +} + +src_install() { + java-pkg_dojar ${PN}.jar + + java-pkg_dolauncher ${PN} --main info.jdictionary.JDictionary + make_desktop_entry ${PN} JDictionary +} |