summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-02-04 23:40:09 +0000
committerVlastimil Babka <caster@gentoo.org>2007-02-04 23:40:09 +0000
commitc2fbfcc7837301e42fc62b8e8446935aeb9202d7 (patch)
tree98bad93d93ab9119aa1683ba6f7b6fd8ccb1c50d /dev-java/java-sdk-docs
parentversion bump (diff)
downloadgentoo-2-c2fbfcc7837301e42fc62b8e8446935aeb9202d7.tar.gz
gentoo-2-c2fbfcc7837301e42fc62b8e8446935aeb9202d7.tar.bz2
gentoo-2-c2fbfcc7837301e42fc62b8e8446935aeb9202d7.zip
Revbump for upstream distfile change. Reported by Akos Ladanyi <ladanyi@tmit.bme.hu> in bug #67266.
(Portage version: 2.1.2-r7)
Diffstat (limited to 'dev-java/java-sdk-docs')
-rw-r--r--dev-java/java-sdk-docs/ChangeLog9
-rw-r--r--dev-java/java-sdk-docs/files/digest-java-sdk-docs-1.6.0-r13
-rw-r--r--dev-java/java-sdk-docs/java-sdk-docs-1.6.0-r1.ebuild42
3 files changed, 53 insertions, 1 deletions
diff --git a/dev-java/java-sdk-docs/ChangeLog b/dev-java/java-sdk-docs/ChangeLog
index 7602baf3f34a..114e4abd8d7a 100644
--- a/dev-java/java-sdk-docs/ChangeLog
+++ b/dev-java/java-sdk-docs/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-java/java-sdk-docs
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.44 2007/02/02 23:37:34 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/ChangeLog,v 1.45 2007/02/04 23:40:09 caster Exp $
+
+*java-sdk-docs-1.6.0-r1 (04 Feb 2007)
+
+ 04 Feb 2007; Vlastimil Babka <caster@gentoo.org>
+ +java-sdk-docs-1.6.0-r1.ebuild:
+ Revbump for upstream distfile change. Reported by Akos Ladanyi
+ <ladanyi@tmit.bme.hu> in bug #67266.
02 Feb 2007; Petteri Räty <betelgeuse@gentoo.org>
-java-sdk-docs-1.2.2.006.ebuild, -java-sdk-docs-1.3.1.ebuild:
diff --git a/dev-java/java-sdk-docs/files/digest-java-sdk-docs-1.6.0-r1 b/dev-java/java-sdk-docs/files/digest-java-sdk-docs-1.6.0-r1
new file mode 100644
index 000000000000..15da0c076ca3
--- /dev/null
+++ b/dev-java/java-sdk-docs/files/digest-java-sdk-docs-1.6.0-r1
@@ -0,0 +1,3 @@
+MD5 6596298c9edb02bfe8de14892405e02e jdk-6-doc-r1.zip 54898268
+RMD160 d23c95a90cbf92206499f2c73b2f66b61d8363da jdk-6-doc-r1.zip 54898268
+SHA256 30df77761591681cbb259dce028a728926813fcd18e7f87ad9631f64fe7f08bd jdk-6-doc-r1.zip 54898268
diff --git a/dev-java/java-sdk-docs/java-sdk-docs-1.6.0-r1.ebuild b/dev-java/java-sdk-docs/java-sdk-docs-1.6.0-r1.ebuild
new file mode 100644
index 000000000000..802e9d89ff05
--- /dev/null
+++ b/dev-java/java-sdk-docs/java-sdk-docs-1.6.0-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 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.6.0-r1.ebuild,v 1.1 2007/02/04 23:40:09 caster Exp $
+
+ORIG_NAME="jdk-6-doc.zip"
+SRC_URI="jdk-6-doc-${PR}.zip"
+DESCRIPTION="Documentation (including API Javadocs) for Java SDK version ${PV}"
+HOMEPAGE="http://java.sun.com/javase/6/docs/"
+LICENSE="sun-j2sl-6"
+SLOT="1.6.0"
+KEYWORDS="-alpha ~amd64 -hppa -mips -ppc -sparc ~x86"
+IUSE=""
+DEPEND="app-arch/unzip"
+RDEPEND=""
+RESTRICT="fetch"
+
+DOWNLOAD_URL="http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=jdk-6-doc-oth-JPR&SiteId=JSC&TransactionId=noreg"
+
+S="${WORKDIR}/docs"
+
+pkg_nofetch() {
+ einfo "Please download ${ORIG_NAME} from "
+ einfo "${DOWNLOAD_URL}"
+ einfo "and place it in ${DISTDIR} named as"
+ einfo "${SRC_URI}. Notice the ${PR}. Because Sun changes the doc zip file"
+ einfo "without changing the filename, we have to resort to renaming to keep"
+ einfo "the md5sum verification working for existing and new downloads."
+ einfo ""
+ einfo "If emerge fails because of a md5sum error it is possible that Sun"
+ einfo "has again changed the upstream release, try downloading the file"
+ einfo "again or a newer revision if available. Otherwise report this to"
+ einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
+}
+
+src_install(){
+ insinto /usr/share/doc/${P}/html
+ doins index.html
+
+ for i in *; do
+ [[ -d $i ]] && doins -r $i
+ done
+}