From b8b6a6d28b0f9c29a44b51873bb3b72aa5955574 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 18:54:59 +0200 Subject: Ajout de jdk#6u14-1 --- base/jdk/Pkgfile | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 base/jdk/Pkgfile (limited to 'base/jdk/Pkgfile') 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 +} -- cgit v1.2.3-70-g09d2