summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-05-04 21:33:29 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-05-04 21:33:29 +0000
commit8993c476dbe7bb8b10108f57e4cbd5519d0433cd (patch)
treeb435b3be2dcc006c44f3e9bc1e20206d3ed808b5 /dev-java
parentAdded opengl-update-2.2 versions of 6629 and 7167. Fixed opengl-update depen... (diff)
downloadgentoo-2-8993c476dbe7bb8b10108f57e4cbd5519d0433cd.tar.gz
gentoo-2-8993c476dbe7bb8b10108f57e4cbd5519d0433cd.tar.bz2
gentoo-2-8993c476dbe7bb8b10108f57e4cbd5519d0433cd.zip
marked stable on amd64, ppc and x86. introduced support for the source useflag.
(Portage version: 2.0.51.21)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/commons-beanutils/ChangeLog6
-rw-r--r--dev-java/commons-beanutils/Manifest4
-rw-r--r--dev-java/commons-beanutils/commons-beanutils-1.7.0.ebuild48
3 files changed, 30 insertions, 28 deletions
diff --git a/dev-java/commons-beanutils/ChangeLog b/dev-java/commons-beanutils/ChangeLog
index 304354555e3c..059d40361f8f 100644
--- a/dev-java/commons-beanutils/ChangeLog
+++ b/dev-java/commons-beanutils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-java/commons-beanutils
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.20 2005/01/26 21:46:04 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/ChangeLog,v 1.21 2005/05/04 21:33:29 luckyduck Exp $
+
+ 04 May 2005; Jan Brinkmann <luckyduck@gentoo.org>
+ commons-beanutils-1.7.0.ebuild:
+ marked stable on amd64, ppc and x86. introduced support for the source useflag.
26 Jan 2005; Markus Rothe <corsair@gentoo.org>
commons-beanutils-1.7.0.ebuild:
diff --git a/dev-java/commons-beanutils/Manifest b/dev-java/commons-beanutils/Manifest
index 73cffcb6a787..1d624cef968d 100644
--- a/dev-java/commons-beanutils/Manifest
+++ b/dev-java/commons-beanutils/Manifest
@@ -1,6 +1,6 @@
-MD5 204cc644d15e4723de22a561b15920f4 ChangeLog 2989
+MD5 dbda355c8f6d732ece3e23ed4c5d6a68 commons-beanutils-1.7.0.ebuild 1490
MD5 5a3fda68f96da061a29ae803f401f594 commons-beanutils-1.6.1-r1.ebuild 1557
-MD5 fe5a0102cd06ac791894fba62c33a817 commons-beanutils-1.7.0.ebuild 1676
+MD5 78557803d29be7d0326860da4e6d194c ChangeLog 3158
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
MD5 a65fcfbd83466bf025820b316482b38a files/digest-commons-beanutils-1.6.1-r1 79
MD5 776456ec1cdc342af0507027a94da5d3 files/digest-commons-beanutils-1.7.0 79
diff --git a/dev-java/commons-beanutils/commons-beanutils-1.7.0.ebuild b/dev-java/commons-beanutils/commons-beanutils-1.7.0.ebuild
index 81a24a3a50f4..1bdfc4a313bd 100644
--- a/dev-java/commons-beanutils/commons-beanutils-1.7.0.ebuild
+++ b/dev-java/commons-beanutils/commons-beanutils-1.7.0.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/commons-beanutils/commons-beanutils-1.7.0.ebuild,v 1.7 2005/01/26 21:46:04 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-beanutils/commons-beanutils-1.7.0.ebuild,v 1.8 2005/05/04 21:33:29 luckyduck Exp $
inherit java-pkg
@@ -8,44 +8,42 @@ S=${WORKDIR}/${PN}-${PV}-src
DESCRIPTION="The Jakarta BeanUtils component provides easy-to-use wrappers around Reflection and Introspection APIs"
HOMEPAGE="http://jakarta.apache.org/commons/beanutils.html"
SRC_URI="mirror://apache/jakarta/commons/beanutils/source/${P}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="x86 ppc ~sparc amd64 ppc64"
+IUSE="doc jikes source"
+
DEPEND=">=virtual/jdk-1.3
- >=dev-java/ant-core-1.4
- >=dev-java/commons-collections-2.1
- >=dev-java/commons-logging-1.0.2
- junit? ( >=dev-java/junit-3.7 )
- jikes? ( dev-java/jikes )"
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.3
>=dev-java/commons-collections-2.1
>=dev-java/commons-logging-1.0.2"
-LICENSE="Apache-1.1"
-SLOT="0"
-KEYWORDS="~x86 ~ppc ~sparc ~amd64 ppc64"
-IUSE="doc jikes junit"
-src_compile() {
- local antflags="jar"
+src_unpack() {
+ unpack ${A}
cd ${S}
- cp LICENSE.txt LICENSE
- echo "commons-collections.jar=`java-config --classpath=commons-collections`" > build.properties
- echo "commons-logging.jar=`java-config --classpath=commons-logging`" | sed s/\=.*:/\=/ >> build.properties
-
- use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
-
- if use junit ; then
- echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// >> build.properties
- antflags="${antflags} test"
- fi
+ echo "commons-collections.jar=`java-config -p commons-collections`" \
+ > build.properties
+ echo "commons-logging.jar=`java-config -p commons-logging`" | sed s/\=.*:/\=/ \
+ >> build.properties
+}
+src_compile() {
+ local antflags="jar"
use doc && antflags="${antflags} javadoc"
-
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "failed to compile"
}
src_install () {
java-pkg_dojar dist/${PN}*.jar || die "Unable to install"
- dodoc RELEASE-NOTES.txt LICENSE
- dohtml STATUS.html PROPOSAL.html
+ dodoc RELEASE-NOTES.txt
+ java-pkg_dohtml STATUS.html PROPOSAL.html
use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/java/*
}