diff options
author | Chris White <chriswhite@gentoo.org> | 2005-11-30 09:49:41 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2005-11-30 09:49:41 +0000 |
commit | 14afc7ac4f63d55e776e6880f47f1c635021b0cc (patch) | |
tree | c935d59c46497de060f501912e5e27df91538d54 /dev-java/flute/flute-1.3.ebuild | |
parent | (no commit message) (diff) | |
download | gentoo-2-14afc7ac4f63d55e776e6880f47f1c635021b0cc.tar.gz gentoo-2-14afc7ac4f63d55e776e6880f47f1c635021b0cc.tar.bz2 gentoo-2-14afc7ac4f63d55e776e6880f47f1c635021b0cc.zip |
*** empty log message ***
Diffstat (limited to 'dev-java/flute/flute-1.3.ebuild')
-rw-r--r-- | dev-java/flute/flute-1.3.ebuild | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/dev-java/flute/flute-1.3.ebuild b/dev-java/flute/flute-1.3.ebuild index 6d2d5ab2258d..4a1d8c6793bb 100644 --- a/dev-java/flute/flute-1.3.ebuild +++ b/dev-java/flute/flute-1.3.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/flute/flute-1.3.ebuild,v 1.1 2005/04/23 17:15:17 compnerd Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/flute/flute-1.3.ebuild,v 1.1.1.1 2005/11/30 09:47:40 chriswhite Exp $ inherit java-pkg @@ -10,17 +10,17 @@ SRC_URI="http://www.w3.org/2002/06/flutejava-${PV}.zip" LICENSE="W3C" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="amd64 x86" IUSE="doc jikes source" -DEPEND="virtual/jdk - app-arch/unzip - dev-java/sac - jikes? ( dev-java/jikes ) - source? ( app-arch/zip )" - -RDEPEND="virtual/jre - dev-java/sac" +RDEPEND=">=virtual/jre-1.4 + dev-java/sac" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + dev-java/ant-core + app-arch/unzip + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" src_unpack() { unpack ${A} @@ -35,21 +35,16 @@ src_unpack() { } src_compile() { - echo "classpath=`java-config -p sac`" > ${S}/build.properties + echo "classpath=$(java-pkg_getjars sac)" > ${S}/build.properties local antflags="" use jikes && antflags="${antflags} -Dbuild.compiler=jikes" - ant ${antflags} || die "Compiling failed" } src_install() { - dojar ${S}/dist/flute.jar + java-pkg_dojar ${S}/dist/flute.jar use doc && java-pkg_dohtml -r ${S}/dist/doc/* - dohtml ${S}/COPYRIGHT.html - - if use source; then - java-pkg_dosrc ${S}/src/org || die "Failed to package sources" - fi + use source && java-pkg_dosrc ${S}/src/* } |