summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-15 21:11:50 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-15 21:11:50 +0000
commitda3adab050eba083f7de9cf53b3b31b8b4a47256 (patch)
treed0c86dc6551c1457a5db614f9bad30f829197d5a /dev-java/lucene
parentRemoved the PDEPEND on emul-glibc for amd64 as this release (and all future r... (diff)
downloadgentoo-2-da3adab050eba083f7de9cf53b3b31b8b4a47256.tar.gz
gentoo-2-da3adab050eba083f7de9cf53b3b31b8b4a47256.tar.bz2
gentoo-2-da3adab050eba083f7de9cf53b3b31b8b4a47256.zip
style fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'dev-java/lucene')
-rw-r--r--dev-java/lucene/lucene-1.4.1.ebuild12
-rw-r--r--dev-java/lucene/lucene-1.4.3.ebuild7
2 files changed, 7 insertions, 12 deletions
diff --git a/dev-java/lucene/lucene-1.4.1.ebuild b/dev-java/lucene/lucene-1.4.1.ebuild
index 61b520303ef5..6addb648501e 100644
--- a/dev-java/lucene/lucene-1.4.1.ebuild
+++ b/dev-java/lucene/lucene-1.4.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/lucene/lucene-1.4.1.ebuild,v 1.5 2005/02/03 17:35:26 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.1.ebuild,v 1.6 2005/07/15 21:11:50 axxo Exp $
inherit java-pkg
@@ -9,7 +9,7 @@ HOMEPAGE="http://jakarta.apache.org/lucene"
SRC_URI="http://cvs.apache.org/dist/jakarta/lucene/v1.4.1/${P}-src.tar.gz"
LICENSE="Apache-1.1"
SLOT="1"
-KEYWORDS="x86 ~ppc amd64"
+KEYWORDS="amd64 ~ppc x86"
IUSE="jikes doc junit"
DEPEND=">=virtual/jdk-1.2
>=dev-java/ant-1.5
@@ -29,17 +29,13 @@ src_compile() {
local antflags="jar-core"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} javadocs"
+ use junit && antflags="${antflags} test"
ant ${antflags} || die "compilation failed"
-
- if use junit; then
- ant test || die "Junit test failed"
- fi
}
src_install() {
dodoc CHANGES.txt README.txt
cd build
- mv lucene-1.5-rc1-dev.jar ${PN}.jar || die "mv failed"
- java-pkg_dojar ${PN}.jar
+ java-pkg_newjar lucene-1.5-rc1-dev.jar ${PN}.jar
use doc && java-pkg_dohtml -r docs/*
}
diff --git a/dev-java/lucene/lucene-1.4.3.ebuild b/dev-java/lucene/lucene-1.4.3.ebuild
index 7b59925cbb20..62efa19d0ac7 100644
--- a/dev-java/lucene/lucene-1.4.3.ebuild
+++ b/dev-java/lucene/lucene-1.4.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/lucene/lucene-1.4.3.ebuild,v 1.2 2005/07/10 20:35:12 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/lucene/lucene-1.4.3.ebuild,v 1.3 2005/07/15 21:11:50 axxo Exp $
inherit java-pkg
@@ -9,7 +9,7 @@ HOMEPAGE="http://jakarta.apache.org/lucene"
SRC_URI="mirror://apache/jakarta/lucene/source/${P}-src.tar.gz"
LICENSE="Apache-1.1"
SLOT="1"
-KEYWORDS="~x86 ~ppc ~amd64"
+KEYWORDS="~amd64 ~ppc x86"
IUSE="doc jikes junit source"
DEPEND=">=virtual/jdk-1.2
>=dev-java/ant-1.5
@@ -35,8 +35,7 @@ src_compile() {
src_install() {
dodoc CHANGES.txt README.txt
- mv build/lucene-1.5-rc1-dev.jar ${PN}.jar
- java-pkg_dojar ${PN}.jar
+ java-pkg_newjar build/lucene-1.5-rc1-dev.jar ${PN}.jar
use doc && java-pkg_dohtml -r docs/*
use source && java-pkg_dosrc src/java/org