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
commit3f62ba7356e336a6bd3b5f32fbd4e8d8ae596b62 (patch)
treeb18c171590d94b210fe52e209304ed2858650d41 /dev-java/xt
parentUpdated jaxp to version 1.1.3 (diff)
downloadgentoo-2-3f62ba7356e336a6bd3b5f32fbd4e8d8ae596b62.tar.gz
gentoo-2-3f62ba7356e336a6bd3b5f32fbd4e8d8ae596b62.tar.bz2
gentoo-2-3f62ba7356e336a6bd3b5f32fbd4e8d8ae596b62.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
}