# ChangeLog for dev-java/java-sdk-docs
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.2 2002/08/24 13:32:37 karltk Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.3 2002/10/18 21:38:56 karltk Exp $
+
+*java-sdk-docs-1.4.1 (18 Oct 2002)
+
+ 18 Oct 2002; Karl Trygve Kalleberg <karltk@gentoo.org> java-sdk-docs-1.4.1 files/digest-java-sdk-docs-1.4.1 :
+ New upstream version.
*java-sdk-docs-1.3.1 (16 Aug 2002)
--- /dev/null
+# Copyright 2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+At="j2sdk-1_4_1-doc.zip"
+S="${WORKDIR}/docs"
+SRC_URI=""
+DESCRIPTION="Javadoc for Java SDK version 1.4.1"
+HOMEPAGE="http://java.sun.com/j2se/1.4.1/download.html"
+LICENSE="sun-j2sl"
+SLOT="1.4.1"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+DEPEND="app-arch/unzip"
+
+src_unpack() {
+ if [ ! -f ${DISTDIR}/${At} ] ; then
+ die "Please download ${At} from ${HOMEPAGE} and move it to ${DISTDIR}"
+ fi
+ unpack ${At} || die
+}
+
+src_install(){
+ dohtml index.html
+
+ local dirs="api guide images relnotes tooldocs"
+
+ for i in $dirs ; do
+ cp -a $i ${D}/usr/share/doc/${P}/html
+ done
+}