1 |
tomwij 14/03/28 13:20:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: java-sdk-docs-1.8.0.0.ebuild |
5 |
Log: |
6 |
Version bump to 1.8.0.0; for bug #505040, reported by wevrn5, contribution by Krzysztof Miksa, reviewed and adjusted. |
7 |
|
8 |
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.97 dev-java/java-sdk-docs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?rev=1.97&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?rev=1.97&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/ChangeLog?r1=1.96&r2=1.97 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v |
20 |
retrieving revision 1.96 |
21 |
retrieving revision 1.97 |
22 |
diff -u -r1.96 -r1.97 |
23 |
--- ChangeLog 26 Feb 2014 17:27:08 -0000 1.96 |
24 |
+++ ChangeLog 28 Mar 2014 13:20:38 -0000 1.97 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-java/java-sdk-docs |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.96 2014/02/26 17:27:08 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.97 2014/03/28 13:20:38 tomwij Exp $ |
30 |
+ |
31 |
+*java-sdk-docs-1.8.0.0 (28 Mar 2014) |
32 |
+ |
33 |
+ 28 Mar 2014; Tom Wijsman <TomWij@g.o> +java-sdk-docs-1.8.0.0.ebuild: |
34 |
+ Version bump to 1.8.0.0; for bug #505040, reported by wevrn5, contribution by |
35 |
+ Krzysztof Miksa, reviewed and adjusted. |
36 |
|
37 |
*java-sdk-docs-1.7.0.51 (26 Feb 2014) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-java/java-sdk-docs/java-sdk-docs-1.8.0.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: java-sdk-docs-1.8.0.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2014 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.8.0.0.ebuild,v 1.1 2014/03/28 13:20:38 tomwij Exp $ |
52 |
|
53 |
EAPI="5" |
54 |
|
55 |
inherit versionator |
56 |
|
57 |
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html" |
58 |
|
59 |
[[ "$(get_version_component_range 4)" == 0 ]] \ |
60 |
|| MY_PV_EXT="u$(get_version_component_range 4)" |
61 |
|
62 |
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}" |
63 |
ORIG_NAME="jdk-${MY_PV}-apidocs.zip" |
64 |
|
65 |
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE" |
66 |
HOMEPAGE="http://download.oracle.com/javase/8/docs/" |
67 |
SRC_URI="${ORIG_NAME}" |
68 |
|
69 |
LICENSE="oracle-java-documentation-8" |
70 |
SLOT="1.8" |
71 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
72 |
|
73 |
DEPEND="app-arch/unzip:0" |
74 |
|
75 |
RESTRICT="fetch" |
76 |
|
77 |
S="${WORKDIR}/docs" |
78 |
|
79 |
pkg_nofetch() { |
80 |
einfo "Please download ${ORIG_NAME} from " |
81 |
einfo "${DOWNLOAD_URL}" |
82 |
einfo "(agree to the license) and place it in ${DISTDIR}" |
83 |
|
84 |
einfo "If you find the file on the download page replaced with a higher" |
85 |
einfo "version, please report to the bug 67266 (link below)." |
86 |
einfo "If emerge fails because of a checksum error it is possible that" |
87 |
einfo "the upstream release changed without renaming. Try downloading the file" |
88 |
einfo "again (or a newer revision if available). Otherwise report this to" |
89 |
einfo "http://bugs.gentoo.org/67266 and we will make a new revision." |
90 |
} |
91 |
|
92 |
src_install(){ |
93 |
insinto /usr/share/doc/${P}/html |
94 |
doins index.html |
95 |
|
96 |
for i in *; do |
97 |
[[ -d $i ]] && doins -r $i |
98 |
done |
99 |
} |