summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-07-12 12:28:37 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-07-12 12:28:37 +0000
commit4a715c81adc5fbcf1bed0a2dc102f62a4b5210e2 (patch)
tree21b4b241e249dc3b175a77d89e7641ba277439a9 /dev-java/axion
parentdont install versioned jar (diff)
downloadhistorical-4a715c81adc5fbcf1bed0a2dc102f62a4b5210e2.tar.gz
historical-4a715c81adc5fbcf1bed0a2dc102f62a4b5210e2.tar.bz2
historical-4a715c81adc5fbcf1bed0a2dc102f62a4b5210e2.zip
style/dep fixes
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/axion')
-rw-r--r--dev-java/axion/Manifest10
-rw-r--r--dev-java/axion/axion-1.0_rc2-r2.ebuild33
2 files changed, 26 insertions, 17 deletions
diff --git a/dev-java/axion/Manifest b/dev-java/axion/Manifest
index 29e6a3881f27..b2b3d4d1d407 100644
--- a/dev-java/axion/Manifest
+++ b/dev-java/axion/Manifest
@@ -1,5 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 695ac377e6506a73d9e226549c7eb44c axion-1.0_rc2-r2.ebuild 1529
MD5 5c4fb6f8bd137222c9d3921053e1b733 ChangeLog 1995
MD5 1efa58c8ec21eb8f929a4abccb0a543e metadata.xml 515
MD5 40a767f2792e03e5e7b536b901a4417d files/digest-axion-1.0_rc2-r2 68
MD5 da11842a1e904d37a02a64d8dfa3ed48 files/commons-codec.patch 2452
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFC07eL/rLF9B432nYRAotAAJwJn4lrtvll1Sn9MBMsRCmXdXkrCACguyvf
+O5vdt+R9gtrB5LyqtP4+dYE=
+=kpBN
+-----END PGP SIGNATURE-----
diff --git a/dev-java/axion/axion-1.0_rc2-r2.ebuild b/dev-java/axion/axion-1.0_rc2-r2.ebuild
index 1394c1865556..baa8e73ca926 100644
--- a/dev-java/axion/axion-1.0_rc2-r2.ebuild
+++ b/dev-java/axion/axion-1.0_rc2-r2.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/axion/axion-1.0_rc2-r2.ebuild,v 1.1 2005/05/20 19:47:23 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/axion/axion-1.0_rc2-r2.ebuild,v 1.2 2005/07/12 12:28:37 axxo Exp $
inherit java-pkg eutils
@@ -11,12 +11,15 @@ LICENSE="BSD"
SLOT="0"
KEYWORDS="x86 amd64"
IUSE="doc jikes source"
-RDEPEND=">=dev-java/commons-collections-2.1
+RDEPEND=">=virtual/jre-1.4
+ >=dev-java/commons-collections-2.1
>=dev-java/commons-primitives-1.0
>=dev-java/commons-codec-1.2
>=dev-java/log4j-1.2
=dev-java/jakarta-regexp-1.3*"
-DEPEND="${RDEPEND}
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}
+ dev-java/javacc
jikes? ( >=dev-java/jikes-1.19 )
source? ( app-arch/zip )
>=dev-java/ant-1.5.4"
@@ -29,19 +32,16 @@ src_unpack() {
epatch ${FILESDIR}/commons-codec.patch
+ echo javacc.home=/usr/share/javacc/lib/ > build.properties
+
mkdir lib test
- (
- cd lib
- java-pkg_jar-from commons-collections || die commons-collections
- java-pkg_jar-from commons-primitives || die commons-primitives
- java-pkg_jar-from commons-logging || die commons-logging
- java-pkg_jar-from commons-codec || die commons-codec
- java-pkg_jar-from log4j || die log4j
- java-pkg_jar-from jakarta-regexp-1.3 || die jakarta-regexp-1.3
- )
-
- echo javacc.home=/usr/share/javacc/lib \
- > build.properties
+ cd lib
+ java-pkg_jar-from commons-collections
+ java-pkg_jar-from commons-primitives
+ java-pkg_jar-from commons-logging
+ java-pkg_jar-from commons-codec
+ java-pkg_jar-from log4j
+ java-pkg_jar-from jakarta-regexp-1.3
}
src_compile() {
@@ -52,8 +52,7 @@ src_compile() {
}
src_install() {
- mv bin/axion-1.0-M2.jar ${PN}.jar
- java-pkg_dojar ${PN}.jar
+ java-pkg_newjar bin/axion-1.0-M2.jar ${PN}.jar
use doc && java-pkg_dohtml -r bin/docs/api
use source && java-pkg_dosrc src/*
}