diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-03-01 04:53:48 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-03-01 04:53:48 +0000 |
commit | cbb5784fbfc8e115d082bf16a616f380914e815d (patch) | |
tree | b7fac6899169be461fe0700336608f3561c5aaf0 | |
parent | Check for existence of CC variable, since some old gcc versions didn't supply... (diff) | |
download | gentoo-2-cbb5784fbfc8e115d082bf16a616f380914e815d.tar.gz gentoo-2-cbb5784fbfc8e115d082bf16a616f380914e815d.tar.bz2 gentoo-2-cbb5784fbfc8e115d082bf16a616f380914e815d.zip |
Clean ups + bug fixes.
-rw-r--r-- | dev-java/commons-lang/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/commons-lang/Manifest | 8 | ||||
-rw-r--r-- | dev-java/commons-lang/commons-lang-1.0.1-r1.ebuild | 24 | ||||
-rw-r--r-- | dev-java/commons-lang/commons-lang-2.0-r1.ebuild | 40 | ||||
-rw-r--r-- | dev-java/commons-lang/commons-lang-2.0.ebuild | 4 | ||||
-rw-r--r-- | dev-java/commons-lang/files/digest-commons-lang-1.0.1-r1 | 1 | ||||
-rw-r--r-- | dev-java/commons-lang/files/digest-commons-lang-2.0-r1 | 1 |
7 files changed, 56 insertions, 32 deletions
diff --git a/dev-java/commons-lang/ChangeLog b/dev-java/commons-lang/ChangeLog index 47f222eadac1..f64de70ddf2c 100644 --- a/dev-java/commons-lang/ChangeLog +++ b/dev-java/commons-lang/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-lang -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.10 2003/04/26 05:36:58 strider Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.11 2004/03/01 04:53:48 zx Exp $ + +*commons-lang-2.0-r1 (29 Feb 2004) + + 29 Feb 2004; Chris Aniszczyk <zx@gentoo.org> commons-lang-1.0.1-r1.ebuild, + commons-lang-2.0-r1.ebuild, commons-lang-2.0.ebuild: + Some cleanup + can't rely on jakarta-commons eclass anymore. *commons-lang-1.0.1-r1 (22 Mar 2003) diff --git a/dev-java/commons-lang/Manifest b/dev-java/commons-lang/Manifest index c83c908410e4..c56ee8aac696 100644 --- a/dev-java/commons-lang/Manifest +++ b/dev-java/commons-lang/Manifest @@ -1,6 +1,8 @@ -MD5 0462d336c5bbd72153c881cf8e326064 commons-lang-2.0.ebuild 808 -MD5 6c7d6b29579f06276a7ccc7bb08663e3 ChangeLog 1537 +MD5 4466e36fb8fda94d9a2739b5a5520ff6 commons-lang-2.0.ebuild 807 +MD5 83cc8f8574a9cb5e26ecf2ccab510107 ChangeLog 1536 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 -MD5 a27f80500aad05cdf2291e4e75fd160d commons-lang-1.0.1-r1.ebuild 821 +MD5 34e2ea050585a0e0efd452cea07dffb9 commons-lang-2.0-r1.ebuild 719 +MD5 9a80000b5ec8643a2ac4205190eaca5e commons-lang-1.0.1-r1.ebuild 820 MD5 07c97be405d9ddaa1bbf5c24825fbb86 files/digest-commons-lang-2.0 72 +MD5 07c97be405d9ddaa1bbf5c24825fbb86 files/digest-commons-lang-2.0-r1 72 MD5 6d6cffba5fd941a3b59f72bb8a4e6365 files/digest-commons-lang-1.0.1-r1 65 diff --git a/dev-java/commons-lang/commons-lang-1.0.1-r1.ebuild b/dev-java/commons-lang/commons-lang-1.0.1-r1.ebuild deleted file mode 100644 index d353d479dc47..000000000000 --- a/dev-java/commons-lang/commons-lang-1.0.1-r1.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-1.0.1-r1.ebuild,v 1.3 2003/04/26 05:36:58 strider Exp $ - -inherit jakarta-commons - -S="${WORKDIR}/${PN}-${PV}-src/lang" -DESCRIPTION="Jakarta components to manipulate core java classes" -HOMEPAGE="http://jakarta.apache.org/commons/lang.html" -SRC_URI="mirror://apache/jakarta/commons/lang/source/lang-${PV}-src.tar.gz" -DEPEND=">=virtual/jdk-1.3 - >=dev-java/ant-1.4 - junit? ( >=dev-java/junit-3.7 )" -RDEPEND=">=virtual/jre-1.3" -LICENSE="Apache-1.1" -SLOT="0" -KEYWORDS="x86 ppc sparc" -IUSE="doc jikes junit" - -src_compile() { - cp LICENSE.txt ../LICENSE - jakarta-commons_src_compile myconf make - use doc && jakarta-commons_src_compile makedoc -} diff --git a/dev-java/commons-lang/commons-lang-2.0-r1.ebuild b/dev-java/commons-lang/commons-lang-2.0-r1.ebuild new file mode 100644 index 000000000000..8669eceeec94 --- /dev/null +++ b/dev-java/commons-lang/commons-lang-2.0-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.0-r1.ebuild,v 1.1 2004/03/01 04:53:48 zx Exp $ + +inherit java-pkg + +DESCRIPTION="Jakarta components to manipulate core java classes" +HOMEPAGE="http://jakarta.apache.org/commons/lang.html" +SRC_URI="mirror://apache/jakarta/commons/lang/source/${P}-src.tar.gz" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-1.4 + junit? ( >=dev-java/junit-3.7 )" +RDEPEND=">=virtual/jre-1.3" +LICENSE="Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="doc jikes junit" + +S="${WORKDIR}/${PN}-${PV}-src" + +src_unpack() { + unpack ${A} + cd ${S} + echo "junit.jar=`java-config -p junit`" >> build.properties +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + use junit && antflags="${antflags} test" + ant ${antflags} +} + +src_install() { + mv dist/commons-lang-2.0.jar dist/${PN}.jar + java-pkg_dojar dist/*.jar + dohtml *.html + use doc && dohtml -r dist/docs/* +} diff --git a/dev-java/commons-lang/commons-lang-2.0.ebuild b/dev-java/commons-lang/commons-lang-2.0.ebuild index 5a23468614bc..81638efc3652 100644 --- a/dev-java/commons-lang/commons-lang-2.0.ebuild +++ b/dev-java/commons-lang/commons-lang-2.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.0.ebuild,v 1.1 2003/10/18 18:04:47 strider Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/commons-lang-2.0.ebuild,v 1.2 2004/03/01 04:53:48 zx Exp $ inherit jakarta-commons diff --git a/dev-java/commons-lang/files/digest-commons-lang-1.0.1-r1 b/dev-java/commons-lang/files/digest-commons-lang-1.0.1-r1 deleted file mode 100644 index 944714070d4b..000000000000 --- a/dev-java/commons-lang/files/digest-commons-lang-1.0.1-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 7217632e6a7f18770734128baba273c2 lang-1.0.1-src.tar.gz 96843 diff --git a/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 b/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 new file mode 100644 index 000000000000..372fd0253970 --- /dev/null +++ b/dev-java/commons-lang/files/digest-commons-lang-2.0-r1 @@ -0,0 +1 @@ +MD5 200a40d46fe6a60af76acf973298b8fe commons-lang-2.0-src.tar.gz 440989 |