From 449599d095de27663d43fc8d7fe215cf48f0a7e4 Mon Sep 17 00:00:00 2001 From: Vlastimil Babka Date: Sun, 7 Jan 2007 22:46:29 +0000 Subject: [PATCH] New package, as Heaven requested in bug #160773. Package-Manager: portage-2.1.2_rc4-r5 --- dev-java/higlayout/ChangeLog | 10 ++++ dev-java/higlayout/Manifest | 16 ++++++ dev-java/higlayout/files/digest-higlayout-1.0 | 3 + dev-java/higlayout/higlayout-1.0.ebuild | 56 +++++++++++++++++++ dev-java/higlayout/metadata.xml | 5 ++ 5 files changed, 90 insertions(+) create mode 100644 dev-java/higlayout/ChangeLog create mode 100644 dev-java/higlayout/Manifest create mode 100644 dev-java/higlayout/files/digest-higlayout-1.0 create mode 100644 dev-java/higlayout/higlayout-1.0.ebuild create mode 100644 dev-java/higlayout/metadata.xml diff --git a/dev-java/higlayout/ChangeLog b/dev-java/higlayout/ChangeLog new file mode 100644 index 000000000000..0c04cd8616eb --- /dev/null +++ b/dev-java/higlayout/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/higlayout +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/higlayout/ChangeLog,v 1.1 2007/01/07 22:46:29 caster Exp $ + +*higlayout-1.0 (07 Jan 2007) + + 07 Jan 2007; Vlastimil Babka +metadata.xml, + +higlayout-1.0.ebuild: + New package, as Heaven requested in bug #160773. + diff --git a/dev-java/higlayout/Manifest b/dev-java/higlayout/Manifest new file mode 100644 index 000000000000..072b9f45464b --- /dev/null +++ b/dev-java/higlayout/Manifest @@ -0,0 +1,16 @@ +DIST HIGLayout1.0.zip 78855 RMD160 c0b447b8176d3d3cb0f54a2be3c3511eb3db9a51 SHA1 e2504312bf478d95aa131343115c85766d186355 SHA256 87464c9c889c7f5c94170ccb76ec088b1452897f670dab090ff3db06c3fed5e7 +EBUILD higlayout-1.0.ebuild 1291 RMD160 1ca6dfc9ec271ddbfa263b7f99934200058f9434 SHA1 f570f822720f6280924c4da27da2aebf93077348 SHA256 598ebbe8286268c8109b7cf57820ed0722ee0784ea3103c1994778eec36b762d +MD5 411c15fb0fb6ac8dd2dc448cfb11018f higlayout-1.0.ebuild 1291 +RMD160 1ca6dfc9ec271ddbfa263b7f99934200058f9434 higlayout-1.0.ebuild 1291 +SHA256 598ebbe8286268c8109b7cf57820ed0722ee0784ea3103c1994778eec36b762d higlayout-1.0.ebuild 1291 +MISC ChangeLog 382 RMD160 d18efbc4b2c9f15f2ab1fe406d94ce999f9765ba SHA1 07429ef70ef8ae68e32a20b871c78aa2e7a358a5 SHA256 086a6992475fd3ed5d0dab3ed660cd63e71855e53dc9e7c8e26f5892068a31b7 +MD5 31ca9baf04642e2ce12b96ab00a6a69c ChangeLog 382 +RMD160 d18efbc4b2c9f15f2ab1fe406d94ce999f9765ba ChangeLog 382 +SHA256 086a6992475fd3ed5d0dab3ed660cd63e71855e53dc9e7c8e26f5892068a31b7 ChangeLog 382 +MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 +SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158 +MD5 f6358d6cf03c7a5ea7ce960aa6b3b293 files/digest-higlayout-1.0 226 +RMD160 61633ea63608925e3f863cbabe083ceef7508a87 files/digest-higlayout-1.0 226 +SHA256 032d67914cedb7cbb88581a562b839a748fdec3e3fcb529303d3155cedb21792 files/digest-higlayout-1.0 226 diff --git a/dev-java/higlayout/files/digest-higlayout-1.0 b/dev-java/higlayout/files/digest-higlayout-1.0 new file mode 100644 index 000000000000..809cf490fd81 --- /dev/null +++ b/dev-java/higlayout/files/digest-higlayout-1.0 @@ -0,0 +1,3 @@ +MD5 5bd79f33157824499b0fc03d6a5e080a HIGLayout1.0.zip 78855 +RMD160 c0b447b8176d3d3cb0f54a2be3c3511eb3db9a51 HIGLayout1.0.zip 78855 +SHA256 87464c9c889c7f5c94170ccb76ec088b1452897f670dab090ff3db06c3fed5e7 HIGLayout1.0.zip 78855 diff --git a/dev-java/higlayout/higlayout-1.0.ebuild b/dev-java/higlayout/higlayout-1.0.ebuild new file mode 100644 index 000000000000..4b292cb2e9de --- /dev/null +++ b/dev-java/higlayout/higlayout-1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/higlayout/higlayout-1.0.ebuild,v 1.1 2007/01/07 22:46:29 caster Exp $ + +inherit java-pkg-2 + +DESCRIPTION="Java Swing layout manager that's powerful and easy to use" + +HOMEPAGE="http://www.autel.cz/dmi/tutorial.html" +SRC_URI="http://www.autel.cz/dmi/HIGLayout${PV}.zip" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="x86" +IUSE="doc examples source" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}" + +src_unpack() { + unpack ${A} + cd "${S}" + + mkdir classes api + cd tutorial + for d in *.GIF; + do + mv $d $(basename $d .GIF).gif + done +} + +src_compile() { + ejavac -d classes src/cz/autel/dmi/*.java || die "failed to compile sources" + jar cf higlayout.jar classes/cz || die "failed to create .jar" + if use doc; then + javadoc -author -version -d api src/cz/autel/dmi/*.java \ + || die "javadoc failed" + fi +} + +src_install() { + java-pkg_dojar ${PN}.jar + dodoc *.txt + if use doc; then + dohtml -r tutorial + java-pkg_dojavadoc api + fi + if use examples; then + dodir /usr/share/doc/${PF}/examples + insinto /usr/share/doc/${PF}/examples + doins examples/* + fi + use source && java-pkg_dosrc src/cz +} diff --git a/dev-java/higlayout/metadata.xml b/dev-java/higlayout/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/higlayout/metadata.xml @@ -0,0 +1,5 @@ + + + + java + -- 2.26.2