summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Aniszczyk <zx@gentoo.org>2004-03-17 07:37:41 +0000
committerChris Aniszczyk <zx@gentoo.org>2004-03-17 07:37:41 +0000
commit925aa1e00cac2e8ad8526306483f93daffa1f45a (patch)
tree457ba4d302b0f554640e6ae096b37eac81336b4b /dev-java
parentno Manifest, why? (diff)
downloadhistorical-925aa1e00cac2e8ad8526306483f93daffa1f45a.tar.gz
historical-925aa1e00cac2e8ad8526306483f93daffa1f45a.tar.bz2
historical-925aa1e00cac2e8ad8526306483f93daffa1f45a.zip
Initial Import ;)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/struts-legacy/ChangeLog10
-rw-r--r--dev-java/struts-legacy/Manifest4
-rw-r--r--dev-java/struts-legacy/files/digest-struts-legacy-1.01
-rw-r--r--dev-java/struts-legacy/metadata.xml5
-rw-r--r--dev-java/struts-legacy/struts-legacy-1.0.ebuild39
5 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/struts-legacy/ChangeLog b/dev-java/struts-legacy/ChangeLog
new file mode 100644
index 000000000000..b0740ea42652
--- /dev/null
+++ b/dev-java/struts-legacy/ChangeLog
@@ -0,0 +1,10 @@
+# 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.1 2004/03/17 07:37:41 zx Exp $
+
+*struts-legacy-1.0 (17 Mar 2004)
+
+ 17 Mar 2004; Chris Aniszczyk <zx@gentoo.org> metadata.xml,
+ struts-legacy-1.0.ebuild:
+ Initial Import. Needed to build struts from source ;)
+
diff --git a/dev-java/struts-legacy/Manifest b/dev-java/struts-legacy/Manifest
new file mode 100644
index 000000000000..f07d8814d1a6
--- /dev/null
+++ b/dev-java/struts-legacy/Manifest
@@ -0,0 +1,4 @@
+MD5 d68f911ff87a720defb5dbf1cc1414ee struts-legacy-1.0.ebuild 1391
+MD5 1e973c7acf930e4ce67e07e97f4dd5a9 ChangeLog 401
+MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
+MD5 2459923e54f157c4320980a9c75c49e1 files/digest-struts-legacy-1.0 72
diff --git a/dev-java/struts-legacy/files/digest-struts-legacy-1.0 b/dev-java/struts-legacy/files/digest-struts-legacy-1.0
new file mode 100644
index 000000000000..6007ab165d0d
--- /dev/null
+++ b/dev-java/struts-legacy/files/digest-struts-legacy-1.0
@@ -0,0 +1 @@
+MD5 805b7f3e787c1469f57fed9f5eebc3a1 struts-legacy-1.0-src.tar.gz 12767
diff --git a/dev-java/struts-legacy/metadata.xml b/dev-java/struts-legacy/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/struts-legacy/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+</pkgmetadata>
diff --git a/dev-java/struts-legacy/struts-legacy-1.0.ebuild b/dev-java/struts-legacy/struts-legacy-1.0.ebuild
new file mode 100644
index 000000000000..af806136ad07
--- /dev/null
+++ b/dev-java/struts-legacy/struts-legacy-1.0.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.ebuild,v 1.1 2004/03/17 07:37:41 zx Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Batik is a Java(tm) technology based toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation."
+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
+ >=dev-java/jdbc2-stdext-2.0
+ dev-java/commons-logging
+ jikes? ( dev-java/jikes )"
+RDEPEND=">=virtual/jdk-1.4"
+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/
+}