diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-07-06 10:18:12 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-07-06 10:18:12 +0000 |
commit | c8c4549c1d64d966dc38a569831a76e22e33e36a (patch) | |
tree | 3ffa3a1fc20a2b53b1dc6ff1aaa92ee6eda3ddb6 | |
parent | Add package to main tree. (diff) | |
download | gentoo-2-c8c4549c1d64d966dc38a569831a76e22e33e36a.tar.gz gentoo-2-c8c4549c1d64d966dc38a569831a76e22e33e36a.tar.bz2 gentoo-2-c8c4549c1d64d966dc38a569831a76e22e33e36a.zip |
Add swing-worker to tree from java-overlay.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
-rw-r--r-- | dev-java/swing-worker/ChangeLog | 17 | ||||
-rw-r--r-- | dev-java/swing-worker/metadata.xml | 10 | ||||
-rw-r--r-- | dev-java/swing-worker/swing-worker-1.1.ebuild | 35 |
3 files changed, 62 insertions, 0 deletions
diff --git a/dev-java/swing-worker/ChangeLog b/dev-java/swing-worker/ChangeLog new file mode 100644 index 000000000000..77d6946b1dcb --- /dev/null +++ b/dev-java/swing-worker/ChangeLog @@ -0,0 +1,17 @@ +# ChangeLog for dev-java/swing-worker +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-worker/ChangeLog,v 1.1 2009/07/06 10:18:12 ali_bush Exp $ + +*swing-worker-1.1 (06 Jul 2009) + + 06 Jul 2009; Alistair Bush <ali_bush@gentoo.org> +swing-worker-1.1.ebuild, + +metadata.xml: + Add swing-worker to tree. + + 17 Jul 2008; Petteri Räty <betelgeuse@gentoo.org> + swing-worker-1.1.ebuild: + Keyword ~x86. + + 10 Feb 2008; Miroslav Šulc <fordfrog@gentoo.org> Manifest: + Redigested + diff --git a/dev-java/swing-worker/metadata.xml b/dev-java/swing-worker/metadata.xml new file mode 100644 index 000000000000..32d1391f65ca --- /dev/null +++ b/dev-java/swing-worker/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<longdescription lang="en"> +swing-worker is a backport for Java 1.5 of the Swing Threading libraries +available within the Java 1.6 API. +</longdescription> +</pkgmetadata> + diff --git a/dev-java/swing-worker/swing-worker-1.1.ebuild b/dev-java/swing-worker/swing-worker-1.1.ebuild new file mode 100644 index 000000000000..4a9c32cc1277 --- /dev/null +++ b/dev-java/swing-worker/swing-worker-1.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-worker/swing-worker-1.1.ebuild,v 1.1 2009/07/06 10:18:12 ali_bush Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Java 1.6 SwingWorker backport for Java 1.5" +HOMEPAGE="https://swingworker.dev.java.net" +SRC_URI="https://swingworker.dev.java.net/files/documents/2810/51774/${PN}-src-${PV}.zip" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}" + +EANT_BUILD_TARGET="compile" + +src_install() { + use doc && java-pkg_dojavadoc dist/javadoc + cd build + jar cf "../${PN}.jar" * || die "Unable to create jar" + cd .. + java-pkg_dojar "${PN}.jar" + + use source && java-pkg_dosrc src/java/* +} |