summaryrefslogtreecommitdiffstats
path: root/base/jdk/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-31 23:33:20 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-31 23:33:20 +0200
commit63ee8eccd99f8f9af84676c4692a141b13ceb3c3 (patch)
tree0d063e2540cf5e57bbd58966283a638f9a0c20d8 /base/jdk/Pkgfile
parente73eba394183d93f4030a4f475ab332d64907581 (diff)
downloadnutyx-pakxe-63ee8eccd99f8f9af84676c4692a141b13ceb3c3.tar.gz
nutyx-pakxe-63ee8eccd99f8f9af84676c4692a141b13ceb3c3.tar.bz2
nutyx-pakxe-63ee8eccd99f8f9af84676c4692a141b13ceb3c3.tar.xz
nutyx-pakxe-63ee8eccd99f8f9af84676c4692a141b13ceb3c3.zip
Maj jdk#6u15-1
Diffstat (limited to 'base/jdk/Pkgfile')
-rw-r--r--base/jdk/Pkgfile31
1 files changed, 13 insertions, 18 deletions
diff --git a/base/jdk/Pkgfile b/base/jdk/Pkgfile
index 9d1c39850..6fc6a73cf 100644
--- a/base/jdk/Pkgfile
+++ b/base/jdk/Pkgfile
@@ -5,29 +5,24 @@
# Depends on:
name=jdk
-version=6u14
+version=6u15
release=1
[ "`uname -m`" == "i686" ] && _ARCH=i586
[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
source=(http://download.java.net/dlj/binaries/$name-$version-dlj-linux-${_ARCH}.bin \
- jdk.sh )
-
+ jdk.sh https://jdk-distros.dev.java.net/source/browse/*checkout*/jdk-distros/trunk/utils/construct.sh )
build() {
- mkdir -p $PKG/etc/profile.d/
- mv jdk.sh $PKG/etc/profile.d/
- chmod 755 $name-$version-dlj-linux-${_ARCH}.bin
- ./jdk-$version-dlj-linux-${_ARCH}.bin
- cd jdk1.6.0_14
- install -v -m755 -d $PKG/opt/jdk-bin-$version
- mv -v * $PKG/opt/jdk-bin-$version
-if [ "`uname -m`" == "i686" ]; then
- _ARCH=i386
-fi
- ln -v -sf xawt/libmawt.so \
- $PKG/opt/jdk-bin-$version/jre/lib/${_ARCH}/
- sed -i 's@XINERAMA@FAKEEXTN@g' \
- $PKG/opt/jdk-bin-$version/jre/lib/${_ARCH}/xawt/libmawt.so
- ln -v -nsf jdk-bin-$version $PKG/opt/jdk
+ mkdir -p $PKG/etc/profile.d/
+ mkdir -p $PKG/opt
+ mv jdk.sh $PKG/etc/profile.d/
+ chmod 755 $name-$version-dlj-linux-${_ARCH}.bin
+ mkdir unbundle-jdk
+ cd unbundle-jdk
+ sh ../jdk-${version}-dlj-linux-${_ARCH}.bin --accept-license
+ cd ..
+
+ sh construct.sh unbundle-jdk linux-jdk linux-jre
+ mv linux-jdk $PKG/opt/jdk
}