blob: 135c58bdc58c85b869aa9e034aa1ecbba37f09a7 (
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
31
32
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.5.0.ebuild,v 1.9 2006/10/14 01:41:59 tsunam Exp $
SRC_URI="jdk-1_5_0-doc.zip"
DESCRIPTION="Javadoc for Java SDK version 1.5.0 Beta 2"
HOMEPAGE="http://java.sun.com/j2se/1.5.0/"
LICENSE="sun-j2sl"
SLOT="1.5.0"
KEYWORDS="-alpha ~amd64 -hppa -mips -ppc -sparc x86"
IUSE=""
DEPEND=">=app-arch/unzip-5.50-r1"
RESTRICT="fetch"
DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-1.5.0-doc-oth-JPR&SiteId=JSC&TransactionId=noreg"
S="${WORKDIR}/docs"
pkg_nofetch() {
einfo "Please download ${SRC_URI} from "
einfo "${DOWNLOAD_URL}"
einfo "and move it to ${DISTDIR}"
}
src_install(){
dohtml index.html
local dirs="api guide images relnotes tooldocs"
for i in $dirs ; do
cp -r $i ${D}/usr/share/doc/${P}/html
done
}
|