diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-07-11 20:50:25 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-07-11 20:50:25 +0000 |
commit | 14dadf2edfdc5c7b9f4a6b9cbb3dfcc8159ff1a2 (patch) | |
tree | c6c63c84f568646ec5eafb86a19b6360a3bfee00 /app-misc/jdictionary | |
parent | Version bump (diff) | |
download | historical-14dadf2edfdc5c7b9f4a6b9cbb3dfcc8159ff1a2.tar.gz historical-14dadf2edfdc5c7b9f4a6b9cbb3dfcc8159ff1a2.tar.bz2 historical-14dadf2edfdc5c7b9f4a6b9cbb3dfcc8159ff1a2.zip |
style fixes
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-misc/jdictionary')
-rw-r--r-- | app-misc/jdictionary/ChangeLog | 5 | ||||
-rw-r--r-- | app-misc/jdictionary/Manifest | 14 | ||||
-rw-r--r-- | app-misc/jdictionary/jdictionary-1.8-r1.ebuild | 23 |
3 files changed, 29 insertions, 13 deletions
diff --git a/app-misc/jdictionary/ChangeLog b/app-misc/jdictionary/ChangeLog index 18d45931ccef..dc4f9af41d69 100644 --- a/app-misc/jdictionary/ChangeLog +++ b/app-misc/jdictionary/ChangeLog @@ -1,6 +1,9 @@ # 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.9 2005/04/21 19:20:01 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/ChangeLog,v 1.10 2005/07/11 20:50:25 axxo Exp $ + + 11 Jul 2005; Thomas Matthijs <axxo@gentoo.org> jdictionary-1.8-r1.ebuild: + style fixes 21 Apr 2005; Simon Stelling <blubb@gentoo.org> jdictionary-1.8.ebuild: stable on amd64 diff --git a/app-misc/jdictionary/Manifest b/app-misc/jdictionary/Manifest index aa863cc364ef..345c67e6e187 100644 --- a/app-misc/jdictionary/Manifest +++ b/app-misc/jdictionary/Manifest @@ -1,6 +1,16 @@ -MD5 a9fedfe22f4913debe1594fb11be007f ChangeLog 1141 -MD5 71b9d0267d3d73d202085c600b45b4b2 jdictionary-1.8-r1.ebuild 962 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 6d4dab676366b6dafbbb3933fe32e3d4 jdictionary-1.8-r1.ebuild 1010 MD5 7727c0dc99eb2f8c66ee1bfc352a31a2 jdictionary-1.8.ebuild 715 +MD5 e1960ebe9c7cfd09b17e173e8c846ab1 ChangeLog 1232 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 f42d455b9c7914cebe2225f9130bd15b files/digest-jdictionary-1.8 64 MD5 f42d455b9c7914cebe2225f9130bd15b files/digest-jdictionary-1.8-r1 64 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFC0tut/rLF9B432nYRAjCoAJ9wRUxTq0L5++AJDhYJBOLH/FI8aACfZzLW +u37XfWqSK7aV8vMOJF2mRyg= +=DDkl +-----END PGP SIGNATURE----- diff --git a/app-misc/jdictionary/jdictionary-1.8-r1.ebuild b/app-misc/jdictionary/jdictionary-1.8-r1.ebuild index 11181139262d..605ec18dbcb0 100644 --- a/app-misc/jdictionary/jdictionary-1.8-r1.ebuild +++ b/app-misc/jdictionary/jdictionary-1.8-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/jdictionary-1.8-r1.ebuild,v 1.3 2005/01/01 15:08:12 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/jdictionary/jdictionary-1.8-r1.ebuild,v 1.4 2005/07/11 20:50:25 axxo Exp $ inherit java-pkg @@ -11,21 +11,24 @@ SRC_URI="mirror://sourceforge/jdictionary/jdictionary-${PV/./_}.zip" IUSE="" SLOT="0" LICENSE="LGPL-2.1" -KEYWORDS="~x86 ~ppc ~sparc ~amd64" +KEYWORDS="~amd64 ~ppc ~sparc x86" -RDEPEND=">=virtual/jdk-1.3" -DEPEND="app-arch/unzip" +RDEPEND=">=virtual/jre-1.3" +DEPEND=">=virtual/jdk-1.3 + app-arch/unzip" S=${WORKDIR}/${PN} -src_compile(){ +src_unpack() { + unpack ${A} + cd ${S} mkdir compiled - javac -classpath . `find . -name \*.java` -d compiled - - # resources are not included in sources :-/ - jar xf ${PN}.jar + jar xf ${PN}.jar || die "failed to unpack jar" cp -r resources compiled +} +src_compile(){ + javac -classpath . $(find . -name \*.java) -d compiled || die "failed to build" jar cf ${PN}.jar -C compiled . } @@ -33,7 +36,7 @@ src_install() { java-pkg_dojar ${PN}.jar echo "#!/bin/sh" > ${PN} - echo "\$(java-config -J) -classpath \$(java-config -p ${PN}) info.jdictionary.JDictionary '\$*'" >> ${PN} + echo "java -classpath \$(java-config -p ${PN}) info.jdictionary.JDictionary '\$*'" >> ${PN} dobin ${PN} } |