summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Almenar <strider@gentoo.org>2002-12-02 23:10:39 +0000
committerAdrian Almenar <strider@gentoo.org>2002-12-02 23:10:39 +0000
commit108ea889d755d4e891d1327ddc0ed7da393c3764 (patch)
tree25ef17fad3c07a190d54edee844a5d48a01f8bee /dev-java/commons-lang
parentRevision bump (diff)
downloadgentoo-2-108ea889d755d4e891d1327ddc0ed7da393c3764.tar.gz
gentoo-2-108ea889d755d4e891d1327ddc0ed7da393c3764.tar.bz2
gentoo-2-108ea889d755d4e891d1327ddc0ed7da393c3764.zip
New version
Diffstat (limited to 'dev-java/commons-lang')
-rw-r--r--dev-java/commons-lang/ChangeLog6
-rw-r--r--dev-java/commons-lang/commons-lang-1.0.1.ebuild44
-rw-r--r--dev-java/commons-lang/files/digest-commons-lang-1.0.11
3 files changed, 50 insertions, 1 deletions
diff --git a/dev-java/commons-lang/ChangeLog b/dev-java/commons-lang/ChangeLog
index 69ec531b3278..05c7a237c632 100644
--- a/dev-java/commons-lang/ChangeLog
+++ b/dev-java/commons-lang/ChangeLog
@@ -1,6 +1,10 @@
# 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.3 2002/11/25 01:14:49 strider Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-lang/ChangeLog,v 1.4 2002/12/02 23:10:39 strider Exp $
+
+*commons-lang-1.0.1 (02 Dec 2002)
+ 02 Dec 2002; Adrian Almenar <strider@gentoo.org> commons-lang-1.0.1.ebuild files/digest-commons-lang-1.0.1
+ New version of this package.
*commons-lang-1.0-r1 (24 Nov 2002)
diff --git a/dev-java/commons-lang/commons-lang-1.0.1.ebuild b/dev-java/commons-lang/commons-lang-1.0.1.ebuild
new file mode 100644
index 000000000000..a935c6a03b36
--- /dev/null
+++ b/dev-java/commons-lang/commons-lang-1.0.1.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.1.ebuild,v 1.1 2002/12/02 23:10:39 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.1 b/dev-java/commons-lang/files/digest-commons-lang-1.0.1
new file mode 100644
index 000000000000..6278d25a7730
--- /dev/null
+++ b/dev-java/commons-lang/files/digest-commons-lang-1.0.1
@@ -0,0 +1 @@
+MD5 7217632e6a7f18770734128baba273c2 commons-lang-1.0.1-src.tar.gz 96843