From: | "Serkan Kaba (serkan)" <serkan@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-java/java-sdk-docs: ChangeLog java-sdk-docs-1.6.0.10.ebuild |
Date: | Sun, 01 Mar 2009 08:12:15 |
Message-Id: | E1LdgmS-00066I-9E@stork.gentoo.org |
1 | serkan 09/03/01 08:12:12 |
2 | |
3 | Modified: ChangeLog |
4 | Added: java-sdk-docs-1.6.0.10.ebuild |
5 | Log: |
6 | Version bump. Fixes bug #260690. |
7 | (Portage version: 2.2_rc23/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.61 dev-java/java-sdk-docs/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?rev=1.61&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?rev=1.61&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?r1=1.60&r2=1.61 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v |
19 | retrieving revision 1.60 |
20 | retrieving revision 1.61 |
21 | diff -u -r1.60 -r1.61 |
22 | --- ChangeLog 20 May 2008 14:36:58 -0000 1.60 |
23 | +++ ChangeLog 1 Mar 2009 08:12:12 -0000 1.61 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for dev-java/java-sdk-docs |
26 | -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.60 2008/05/20 14:36:58 caster Exp $ |
28 | +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.61 2009/03/01 08:12:12 serkan Exp $ |
30 | + |
31 | +*java-sdk-docs-1.6.0.10 (01 Mar 2009) |
32 | + |
33 | + 01 Mar 2009; Serkan Kaba <serkan@g.o> |
34 | + +java-sdk-docs-1.6.0.10.ebuild: |
35 | + Version bump. Fixes bug #260690. |
36 | |
37 | 20 May 2008; Vlastimil Babka <caster@g.o> |
38 | java-sdk-docs-1.5.0-r1.ebuild, java-sdk-docs-1.6.0-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-java/java-sdk-docs/java-sdk-docs-1.6.0.10.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.10.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.10.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: java-sdk-docs-1.6.0.10.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2009 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.6.0.10.ebuild,v 1.1 2009/03/01 08:12:12 serkan Exp $ |
52 | |
53 | ORIG_NAME="jdk-6u10-docs.zip" |
54 | SRC_URI="jdk-6u10-docs.zip" |
55 | DESCRIPTION="Documentation (including API Javadocs) for Java SDK version ${PV}" |
56 | HOMEPAGE="http://java.sun.com/javase/6/docs/" |
57 | LICENSE="sun-j2sl-6" |
58 | SLOT="1.6.0" |
59 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
60 | IUSE="" |
61 | DEPEND="app-arch/unzip" |
62 | RDEPEND="" |
63 | RESTRICT="fetch" |
64 | |
65 | DOWNLOAD_URL="https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u10-docs-oth-JPR@CDS-CDS_Developer" |
66 | S="${WORKDIR}/docs" |
67 | |
68 | pkg_nofetch() { |
69 | einfo "Please download ${ORIG_NAME} from " |
70 | einfo "${DOWNLOAD_URL}" |
71 | einfo "(select English and agree to the licence) and place it in ${DISTDIR} named as" |
72 | einfo "${SRC_URI}. Notice the ${PR}. Because Sun changes the doc zip file" |
73 | einfo "without changing the filename, we have to resort to renaming to keep" |
74 | einfo "the md5sum verification working for existing and new downloads." |
75 | einfo "" |
76 | einfo "If emerge fails because of a md5sum error it is possible that Sun" |
77 | einfo "has again changed the upstream release, try downloading the file" |
78 | einfo "again or a newer revision if available. Otherwise report this to" |
79 | einfo "http://bugs.gentoo.org/67266 and we will make a new revision." |
80 | } |
81 | |
82 | src_install(){ |
83 | insinto /usr/share/doc/${P}/html |
84 | doins index.html |
85 | |
86 | for i in *; do |
87 | [[ -d $i ]] && doins -r $i |
88 | done |
89 | } |