diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-11-04 10:08:23 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-11-04 10:08:23 +0000 |
commit | c854040d7f00c145fc0286e9f6bfb357d5e726e2 (patch) | |
tree | 9b244fa142619ec4553a3442500913066c50dd30 /dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild | |
parent | arm/s390/sh stable (diff) | |
download | gentoo-2-c854040d7f00c145fc0286e9f6bfb357d5e726e2.tar.gz gentoo-2-c854040d7f00c145fc0286e9f6bfb357d5e726e2.tar.bz2 gentoo-2-c854040d7f00c145fc0286e9f6bfb357d5e726e2.zip |
Added support for the source use flag and fixed javadoc handling.
(Portage version: 2.1.2_rc1-r3)
Diffstat (limited to 'dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild')
-rw-r--r-- | dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild b/dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild new file mode 100644 index 000000000000..3cb2025cb0e3 --- /dev/null +++ b/dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/swing-layout/swing-layout-1.0.1-r1.ebuild,v 1.1 2006/11/04 10:08:23 betelgeuse Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Professional cross platform layouts with Swing" +HOMEPAGE="https://swing-layout.dev.java.net/" +SRC_URI="https://swing-layout.dev.java.net/files/documents/2752/35842/${P}-src.zip" + +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.5 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.4" + +S=${WORKDIR} + +src_compile(){ + eant jar $(use_doc javadoc) +} + +src_install(){ + java-pkg_dojar dist/swing-layout.jar + dodoc releaseNotes.txt + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src/java/org +} |