summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorQuentin Glidic2013-01-28 14:13:39 +0100
committerQuentin Glidic2013-01-28 17:36:11 +0100
commit3c99000e644621bce4e0e9ddb6da376a25f597ca (patch)
treeba62f8bd9155b63169ff06aceed54bb4f569884c /packages
parentad533c3f4c78bcd871450b7810768abf0e1f84c9 (diff)
downloadsardemff7-pending-3c99000e644621bce4e0e9ddb6da376a25f597ca.tar.xz
sun-jdk-bin: Update for Oracle move
Diffstat (limited to 'packages')
-rw-r--r--packages/dev-lang/sun-jdk-bin/sun-jdk-bin.exlib22
1 files changed, 11 insertions, 11 deletions
diff --git a/packages/dev-lang/sun-jdk-bin/sun-jdk-bin.exlib b/packages/dev-lang/sun-jdk-bin/sun-jdk-bin.exlib
index 1beac22..e34a97f 100644
--- a/packages/dev-lang/sun-jdk-bin/sun-jdk-bin.exlib
+++ b/packages/dev-lang/sun-jdk-bin/sun-jdk-bin.exlib
@@ -3,10 +3,10 @@
require java [ virtual_jdk_and_jre_deps=false ] java-jdk [ use_versioned_java_home=${SLOT} ]
-MY_PV="$(ever range 2)u$(ever range 4)"
+MY_PV=$(ever range 2)u$(ever range 4)
-MY_PN_AMD64="jdk-${MY_PV}-dlj-linux-amd64"
-MY_PN_X86="jdk-${MY_PV}-dlj-linux-i586"
+MY_PN_AMD64="jdk-${MY_PV}-linux-x64"
+MY_PN_X86="jdk-${MY_PV}-linux-i586"
SUMMARY="Sun Java SE Development Kit"
DESCRIPTION="
@@ -21,8 +21,8 @@ necessary or useful for developing applets and applications.
"
HOMEPAGE="http://java.sun.com/javase/"
DOWNLOADS="
- platform:amd64? ( http://download.java.net/dlj/binaries/${MY_PN_AMD64}.bin )
- platform:x86? ( http://download.java.net/dlj/binaries/${MY_PN_X86}.bin )
+ platform:amd64? ( ${MY_PN_AMD64}.tar.gz )
+ platform:x86? ( ${MY_PN_X86}.tar.gz )
"
LICENCES="DLJ-1.1"
@@ -65,14 +65,14 @@ DEPENDENCIES="
print? ( net-print/cups ) [[ note = [ cups only needed for /usr/sbin/lpc ] ]]
"
-RESTRICT="strip"
+RESTRICT="fetch strip"
-BUGS_TO="jan@codejunky.org"
+WORK="${WORKBASE}"/jdk${PV}
-WORK="${WORKBASE}"/jdk$(ever replace 3 _)
-
-src_unpack() {
- edo sh "${FETCHEDDIR}/${ARCHIVES}" --accept-license --unpack
+pkg_nofetch() {
+ default
+ einfo "Automatic fetching is not possible due to licences concerns"
+ einfo "http://www.oracle.com/technetwork/java/javase/downloads/index.html"
}
src_compile() {