summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-06-21 20:04:20 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-06-21 20:04:20 +0000
commitf3fe15eb802c2ae68996dcb3c38eb5de3b682d57 (patch)
treeb3e6d80c3270a0ada2c4ddea1fdb4f641f10592d /dev-java/struts-legacy
parentstable on amd64 (diff)
downloadhistorical-f3fe15eb802c2ae68996dcb3c38eb5de3b682d57.tar.gz
historical-f3fe15eb802c2ae68996dcb3c38eb5de3b682d57.tar.bz2
historical-f3fe15eb802c2ae68996dcb3c38eb5de3b682d57.zip
Fixes #45402.
Diffstat (limited to 'dev-java/struts-legacy')
-rw-r--r--dev-java/struts-legacy/ChangeLog8
-rw-r--r--dev-java/struts-legacy/files/digest-struts-legacy-1.0-r11
-rw-r--r--dev-java/struts-legacy/struts-legacy-1.0-r1.ebuild39
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-java/struts-legacy/ChangeLog b/dev-java/struts-legacy/ChangeLog
index 51b0d80b8215..e1da2804f64d 100644
--- a/dev-java/struts-legacy/ChangeLog
+++ b/dev-java/struts-legacy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/struts-legacy
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-legacy/ChangeLog,v 1.2 2004/05/25 04:27:07 zx Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-legacy/ChangeLog,v 1.3 2004/06/21 20:04:20 karltk Exp $
+
+*struts-legacy-1.0-r1 (21 Jun 2004)
+
+ 21 Jun 2004; Karl Trygve Kalleberg <karltk@gentoo.org>
+ struts-legacy-1.0-r1.ebuild: Added more suitable runtime dependencies,
+ fixes #45402.
25 May 2004; Chris Aniszczyk <zx@gentoo.org> struts-legacy-1.0.ebuild:
Closes #51770.
diff --git a/dev-java/struts-legacy/files/digest-struts-legacy-1.0-r1 b/dev-java/struts-legacy/files/digest-struts-legacy-1.0-r1
new file mode 100644
index 000000000000..6007ab165d0d
--- /dev/null
+++ b/dev-java/struts-legacy/files/digest-struts-legacy-1.0-r1
@@ -0,0 +1 @@
+MD5 805b7f3e787c1469f57fed9f5eebc3a1 struts-legacy-1.0-src.tar.gz 12767
diff --git a/dev-java/struts-legacy/struts-legacy-1.0-r1.ebuild b/dev-java/struts-legacy/struts-legacy-1.0-r1.ebuild
new file mode 100644
index 000000000000..1e382ee68391
--- /dev/null
+++ b/dev-java/struts-legacy/struts-legacy-1.0-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/struts-legacy/struts-legacy-1.0-r1.ebuild,v 1.1 2004/06/21 20:04:20 karltk Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Jakarta Struts Legacy Library"
+SRC_URI="mirror://apache/jakarta/struts/struts-legacy/${P}-src.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/struts/"
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jdk-1.4
+ >=dev-java/jdbc2-stdext-2.0
+ dev-java/commons-logging"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+
+S=${WORKDIR}/${P}-src
+
+src_compile() {
+ sed -i 's:compile,docs:compile:' build.xml || die "sed failed"
+ echo "commons-logging.jar=`java-config -p commons-logging | sed 's/.*://'`" > build.properties
+ echo "jdbc20ext.jar=`java-config -p jdbc2-stdext`" >> build.properties
+ echo "jdk.version=1.4" >> build.properties
+
+ local antflags="dist"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} docs"
+ ant ${antflags} || die "compile problem"
+}
+
+src_install () {
+ java-pkg_dojar dist/*.jar
+ dodoc STATUS.txt
+ use doc && dohtml -r dist/docs/
+}