diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-23 20:06:16 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2002-01-23 20:06:16 +0000 |
commit | 8dd2b330151f4a70be4d05775b6453fc1c39d6af (patch) | |
tree | 7719ca1658608466c7e60dcd7fdc47cd8f217ee2 /dev-java/jaxp | |
parent | small fixes for adding GLU in future (diff) | |
download | historical-8dd2b330151f4a70be4d05775b6453fc1c39d6af.tar.gz historical-8dd2b330151f4a70be4d05775b6453fc1c39d6af.tar.bz2 historical-8dd2b330151f4a70be4d05775b6453fc1c39d6af.zip |
New Java scheme
Diffstat (limited to 'dev-java/jaxp')
-rw-r--r-- | dev-java/jaxp/jaxp-1.1.3.ebuild | 23 | ||||
-rw-r--r-- | dev-java/jaxp/jaxp-1.2.ebuild | 17 |
2 files changed, 17 insertions, 23 deletions
diff --git a/dev-java/jaxp/jaxp-1.1.3.ebuild b/dev-java/jaxp/jaxp-1.1.3.ebuild index 21bb3d1b3cc7..7da73f3674da 100644 --- a/dev-java/jaxp/jaxp-1.1.3.ebuild +++ b/dev-java/jaxp/jaxp-1.1.3.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. +# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# Author Karl Trygve Kalleberg <karltk@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.1.3.ebuild,v 1.1 2001/12/15 01:43:43 karltk Exp $ +# Maintainer: Tools Team <tools@gentoo.org> +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.1.3.ebuild,v 1.2 2002/01/23 20:06:16 karltk Exp $ -At=java_xml_pack-fall01.zip -S=${WORKDIR}/java_xml_pack-fall01 +At=java_xml_pack-winter01.zip +S=${WORKDIR}/java_xml_pack-winter01 DESCRIPTION="Java API for XML parsing" SRC_URI="" HOMEPAGE="http://java.sun.com/xml/" @@ -17,19 +18,15 @@ RDEPEND=">=virtual/jdk-1.3" src_unpack() { if [ ! -f ${DISTDIR}/${At} ] ; then - echo "!!! Please download ${At} from ${HOMEPAGE}" - die + die "!!! Please download ${At} from ${HOMEPAGE}" fi - ${JAVA_HOME}/bin/jar -xf ${DISTDIR}/${At} + jar -xf ${DISTDIR}/${At} } -src_install() { - insinto /usr/share/jaxp - doins jaxp-1.1.3/crimson.jar jaxp-1.1.3/xalan.jar +src_install() { + dojar jaxp-1.1.3/crimson.jar jaxp-1.1.3/xalan.jar dohtml -r jaxp-1.1.3/docs/* cp -r jaxp-1.1.3/examples ${D}/usr/share/doc/${PF}/ - echo "/usr/share/jaxp/crimson.jar:/usr/share/jaxp/xalan.jar" \ - > ${D}/usr/share/jaxp/classpath.env } diff --git a/dev-java/jaxp/jaxp-1.2.ebuild b/dev-java/jaxp/jaxp-1.2.ebuild index bb41e14eb5dc..74ee69517578 100644 --- a/dev-java/jaxp/jaxp-1.2.ebuild +++ b/dev-java/jaxp/jaxp-1.2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2001 Gentoo Technologies, Inc. +# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# Author Karl Trygve Kalleberg <karltk@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.2.ebuild,v 1.1 2002/01/15 14:45:06 gbevin Exp $ +# Maintainer: Tools Team <tools@gentoo.org> +# Author: Karl Trygve Kalleberg <karltk@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxp/jaxp-1.2.ebuild,v 1.2 2002/01/23 20:06:16 karltk Exp $ At=java_xml_pack-winter01-dev.zip S=${WORKDIR}/java_xml_pack-winter-01-dev @@ -17,19 +18,15 @@ RDEPEND=">=virtual/jdk-1.3" src_unpack() { if [ ! -f ${DISTDIR}/${At} ] ; then - echo "!!! Please download ${At} from ${HOMEPAGE}" - die + die "Please download ${At} from ${HOMEPAGE}" fi - ${JAVA_HOME}/bin/jar -xf ${DISTDIR}/${At} + jar -xf ${DISTDIR}/${At} } src_install() { cd ${S} - insinto /usr/share/jaxp - doins jaxp-1.2-ea1/xerces.jar jaxp-1.2-ea1/xalan.jar + dojar jaxp-1.2-ea1/xerces.jar jaxp-1.2-ea1/xalan.jar dohtml -r jaxp-1.2-ea1/docs/* - echo "/usr/share/jaxp/xerces.jar:/usr/share/jaxp/xalan.jar" \ - > ${D}/usr/share/jaxp/classpath.env } |