summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2002-11-25 01:15:48 +0000
committerAdrian Almenar <strider@gentoo.org>2002-11-25 01:15:48 +0000
commit9507c02759d7bb98c07cccbf69676725b7e5b64f (patch)
tree5c2e0968e9267345615cdb2fa43f5e306febbd81 /dev-java/commons-lang
parentnew revision (diff)
downloadhistorical-9507c02759d7bb98c07cccbf69676725b7e5b64f.tar.gz
historical-9507c02759d7bb98c07cccbf69676725b7e5b64f.tar.bz2
historical-9507c02759d7bb98c07cccbf69676725b7e5b64f.zip
Release
Diffstat (limited to 'dev-java/commons-lang')
-rw-r--r--dev-java/commons-lang/ChangeLog11
-rw-r--r--dev-java/commons-lang/commons-lang-1.0-r1.ebuild44
-rw-r--r--dev-java/commons-lang/files/digest-commons-lang-1.0-r11
3 files changed, 54 insertions, 2 deletions
diff --git a/dev-java/commons-lang/ChangeLog b/dev-java/commons-lang/ChangeLog
index adcaacaad004..69ec531b3278 100644
--- a/dev-java/commons-lang/ChangeLog
+++ b/dev-java/commons-lang/ChangeLog
@@ -1,9 +1,16 @@
# ChangeLog for dev-java/commons-lang
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.2 2002/11/02 21:50:44 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.3 2002/11/25 01:14:49 strider Exp $
-*commons-lang-1.0 (02 Nov 2002)
+*commons-lang-1.0-r1 (24 Nov 2002)
+
+ 24 Nov 2002; Adrian Almenar <strider@gentoo.org> commons-lang-1.0-r1.ebuild files/digest-commons-lang-1.0-r1
+ Changed KEYWORDS, Eliminating all but "x86" since i dont know if they work.
+ Releasing it, since it has been tested a lot and works very well.
+ Changed Generated Jar Filename to be according all commons-* packages.
+*commons-lang-1.0 (02 Nov 2002)
+
02 Nov 2002; Karl Trygve Kalleberg <karltk@gentoo.org> commons-lang-1.0.ebuild files/digest-commons-lang-1.0 :
Initial import. Ebuild submitted by the ever-übercool Adrian Almenar
<aalmenar@conectium.com>.
diff --git a/dev-java/commons-lang/commons-lang-1.0-r1.ebuild b/dev-java/commons-lang/commons-lang-1.0-r1.ebuild
new file mode 100644
index 000000000000..c9fa07224975
--- /dev/null
+++ b/dev-java/commons-lang/commons-lang-1.0-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2002 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-r1.ebuild,v 1.1 2002/11/25 01:14:49 strider Exp $
+
+S="${WORKDIR}/${PN}-${PV}-src"
+DESCRIPTION="Jakarta components to manipulate core java classes"
+HOMEPAGE="http://jakarta.apache.org/commons/lang.html"
+SRC_URI="http://jakarta.apache.org/builds/jakarta-commons/release/${PN}/v${PV}/${PN}-${PV}-src.tar.gz"
+DEPEND=">=virtual/jdk-1.3
+ >=dev-java/ant-1.4
+ junit? ( >=junit-3.7 )"
+RDEPEND=">=virtual/jre-1.3"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="x86"
+IUSE="jikes junit"
+
+src_compile() {
+ local myc
+
+ cp lang/LICENSE.txt LICENSE
+ cd lang
+
+ if [ -n "`use jikes`" ] ; then
+ myc="${myc} -Dbuild.compiler=jikes"
+ fi
+
+ if [ -n "`use junit`" ] ; then
+ echo "junit.jar=`java-config --classpath=junit`" | sed s/:.*// > build.properties
+ ANT_OPTS=${myc} ant test || die "Testing Classes Failed"
+ fi
+
+ ANT_OPTS=${myc} ant jar || die "Compilation Failed"
+ ANT_OPTS=${myc} ant javadoc || die "Building Documents Failed"
+}
+
+src_install () {
+ cd lang
+ dodoc RELEASE-NOTES.txt
+ mv dist/${PN}-${PV}.jar dist/${PN}.jar
+ dojar dist/${PN}.jar || die "Unable to install"
+ dohtml -r dist/docs/*
+ dohtml PROPOSAL.html STATUS.html
+}
diff --git a/dev-java/commons-lang/files/digest-commons-lang-1.0-r1 b/dev-java/commons-lang/files/digest-commons-lang-1.0-r1
new file mode 100644
index 000000000000..f990d8d79f82
--- /dev/null
+++ b/dev-java/commons-lang/files/digest-commons-lang-1.0-r1
@@ -0,0 +1 @@
+MD5 d367df1f903c5b6d6a5f24d51db0df5d commons-lang-1.0-src.tar.gz 90747