summaryrefslogtreecommitdiffstats
path: root/base/jdk/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:54:59 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-08 18:54:59 +0200
commitb8b6a6d28b0f9c29a44b51873bb3b72aa5955574 (patch)
tree69b24fe263a07694a76d26809dca65d50277bccf /base/jdk/Pkgfile
parentfd415126e0198d2cc4dddd53020b202194f15d65 (diff)
downloadnutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.tar.gz
nutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.tar.bz2
nutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.tar.xz
nutyx-extra-b8b6a6d28b0f9c29a44b51873bb3b72aa5955574.zip
Ajout de jdk#6u14-1
Diffstat (limited to 'base/jdk/Pkgfile')
-rw-r--r--base/jdk/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/jdk/Pkgfile b/base/jdk/Pkgfile
new file mode 100644
index 000000000..471bf40ad
--- /dev/null
+++ b/base/jdk/Pkgfile
@@ -0,0 +1,27 @@
+# Description: Contient l'environnement de developpement Sun's Java
+# URL: http://java.sun.com/javase/downloads/index.jsp
+# Maintainer: NuTyX coreteam
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=jdk
+version=6u14
+release=1
+source=(http://www.nutyx.org/files/$name-$version-linux-i586.bin \
+ jdk.sh )
+
+
+build() {
+ mkdir -p $PKG/etc/profile.d/
+ mv jdk.sh $PKG/etc/profile.d/
+ chmod 755 $name-$version-linux-i586.bin
+ ./jdk-$version-linux-i586.bin
+ cd jdk1.6.0_14
+ install -v -m755 -d $PKG/opt/jdk-bin-$version
+ mv -v * $PKG/opt/jdk-bin-$version
+ ln -v -sf xawt/libmawt.so \
+ $PKG/opt/jdk-bin-$version/jre/lib/i386/
+ sed -i 's@XINERAMA@FAKEEXTN@g' \
+ $PKG/opt/jdk-bin-$version/jre/lib/i386/xawt/libmawt.so
+ ln -v -nsf jdk-bin-$version $PKG/opt/jdk
+}