blob: 643715d3ccafc0fffabececf1f9aec484e987965 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
At="j2sdk-1_4_0-doc.zip"
S="${WORKDIR}/docs"
SRC_URI=""
DESCRIPTION="Javadoc for Java SDK version 1.4"
HOMEPAGE="http://java.sun.com/j2se/1.4/download.html"
LICENSE="sun"
SLOT="1.4"
KEYWORDS="x86 ppc sparc"
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
}
|