diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-29 08:55:21 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-29 08:55:21 +0000 |
commit | d154998327e6587cd6a74b3e833c260b4be6037b (patch) | |
tree | 53f71ac85e82961aa6770fb1d827fa9cb352a6d6 /dev-java/swidgets/swidgets-0.1.ebuild | |
parent | Use proper toolchain compiler. Removing old version. Version bump. (diff) | |
download | gentoo-2-d154998327e6587cd6a74b3e833c260b4be6037b.tar.gz gentoo-2-d154998327e6587cd6a74b3e833c260b4be6037b.tar.bz2 gentoo-2-d154998327e6587cd6a74b3e833c260b4be6037b.zip |
introduced support for the source useflag, keyworded ~amd64
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/swidgets/swidgets-0.1.ebuild')
-rw-r--r-- | dev-java/swidgets/swidgets-0.1.ebuild | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/dev-java/swidgets/swidgets-0.1.ebuild b/dev-java/swidgets/swidgets-0.1.ebuild index 1dcc89ec714b..917fca010b21 100644 --- a/dev-java/swidgets/swidgets-0.1.ebuild +++ b/dev-java/swidgets/swidgets-0.1.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/dev-java/swidgets/swidgets-0.1.ebuild,v 1.4 2005/03/29 07:44:08 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/swidgets/swidgets-0.1.ebuild,v 1.5 2005/03/29 08:55:21 luckyduck Exp $ inherit java-pkg @@ -10,16 +10,17 @@ SRC_URI="http://swidgets.tigris.org/files/documents/1472/18566/swidgets-${PV}-sr LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~x86" -IUSE="jikes" +KEYWORDS="~x86 ~amd64" +IUSE="jikes source" DEPEND="${RDEPEND} - virtual/jdk - dev-java/ant-core - jikes? ( dev-java/jikes ) - app-arch/unzip" -RDEPEND="virtual/jre - dev-java/toolbar" + >=virtual/jdk-1.4 + dev-java/ant-core + jikes? ( dev-java/jikes ) + app-arch/unzip + source? ( app-arch/zip )" +RDEPEND=">=virtual/jre-1.4 + dev-java/toolbar" src_unpack() { unpack ${A} || die "Unpack failed!" @@ -47,10 +48,11 @@ src_unpack() { src_compile() { local antflags="" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - - ant ${antflags} -f build.xml || die "Compile failed!" + ant ${antflags} || die "Compile failed!" } src_install() { java-pkg_dojar dest/swidgets-${PV}.jar + + use source && java-pkg_dosrc org } |