summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2001-12-15 02:19:52 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2001-12-15 02:19:52 +0000
commit8e3e5ca9617bf484313038b1f88c0f0eedea9e13 (patch)
treea3f664ae87590fafc8dc1fb88ed7707f5be8095e /dev-java/xt
parentUpdated jaxp to version 1.1.3 (diff)
downloadhistorical-8e3e5ca9617bf484313038b1f88c0f0eedea9e13.tar.gz
historical-8e3e5ca9617bf484313038b1f88c0f0eedea9e13.tar.bz2
historical-8e3e5ca9617bf484313038b1f88c0f0eedea9e13.zip
New Java scheme
Diffstat (limited to 'dev-java/xt')
-rw-r--r--dev-java/xt/xt-1.ebuild32
1 files changed, 13 insertions, 19 deletions
diff --git a/dev-java/xt/xt-1.ebuild b/dev-java/xt/xt-1.ebuild
index f9205df3ca8e..b256b62ad890 100644
--- a/dev-java/xt/xt-1.ebuild
+++ b/dev-java/xt/xt-1.ebuild
@@ -1,34 +1,28 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/xt-1.ebuild,v 1.3 2000/11/02 08:31:51 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/xt-1.ebuild,v 1.4 2001/12/15 02:19:52 karltk Exp $
-P=xt
-A=${P}.zip
S=${WORKDIR}/${P}
DESCRIPTION="Java Implementation of XSL-Transformations"
-SRC_URI="ftp://ftp.jclark.com/pub/xml/"${A}
+SRC_URI="ftp://ftp.jclark.com/pub/xml/${P}.zip
-DEPEND=">=dev-lang/jdk-1.2.2"
+DEPEND=">=virtual/jdk-1.2.2"
src_unpack() {
- mkdir ${S}
- cd ${S}
- jar -xf ${DISTDIR}/${A}
-}
-
-src_compile() {
- cd ${S}
+ mkdir ${S}
+ cd ${S}
+ ${JAVA_HOME}/bin/jar -xf ${DISTDIR}/${P}.zip
}
src_install() {
- cd ${S}
- insinto /usr/lib/java
- doins xt.jar sax.jar
- docinto html
- dodoc xt.htm
- docinto demo
- dodoc demo/*
+ insinto /usr/share/xt
+ doins xt.jar sax.jar
+ dohtml xt.html
+ docinto demo
+ dodoc demo/*
+ echo "/usr/share/xt/xt.jar:/usr/share/xt/sax.jar" \
+ > ${D}/usr/share/xt/classpath.env
}