diff options
author | tnut <thierryn1 at hispeed dot ch> | 2010-02-28 15:15:54 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2010-02-28 15:15:54 +0100 |
commit | 8d8306fa31394800a8b7975fe55896c07ddfc5bf (patch) | |
tree | 89699bc9b37bde72c65684294ad5fded4d780738 /base/jdk/Pkgfile | |
parent | 598534eb2fc9fab1b4288194049d3e0ed81f7ca0 (diff) | |
download | nutyx-extra-8d8306fa31394800a8b7975fe55896c07ddfc5bf.tar.gz nutyx-extra-8d8306fa31394800a8b7975fe55896c07ddfc5bf.tar.bz2 nutyx-extra-8d8306fa31394800a8b7975fe55896c07ddfc5bf.tar.xz nutyx-extra-8d8306fa31394800a8b7975fe55896c07ddfc5bf.zip |
Maj jdk#6u18-2, ajout du lien plugin pour firefox
Diffstat (limited to 'base/jdk/Pkgfile')
-rw-r--r-- | base/jdk/Pkgfile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/base/jdk/Pkgfile b/base/jdk/Pkgfile index a500373d2..abdc1fa78 100644 --- a/base/jdk/Pkgfile +++ b/base/jdk/Pkgfile @@ -2,11 +2,10 @@ # URL: http://java.sun.com/javase/downloads/index.jsp # Maintainer: NuTyX coreteam # Packager: thierryn1 at hispeed dot ch -# Depends on: name=jdk version=6u18 -release=1 +release=2 [ "`uname -m`" == "i686" ] && _ARCH=i586 [ "`uname -m`" == "x86_64" ] && _ARCH=amd64 @@ -41,4 +40,11 @@ build() { $PKG/usr/share/man/man1/ rm -r $PKG/opt/jdk/jre/man rm -r $PKG/usr/share/man/ja* + # Installation du plugin + mkdir -p $PKG/usr/lib/firefox/plugins + if [ ${_ARCH} = "i586" ]; then + ln -s /opt/jdk/jre/lib/i386/libnpjp2.so $PKG/usr/lib/firefox/plugins + else + ln -s /opt/jdk/jre/lib/amd64/libnpjp2.so $PKG/usr/lib/firefox/plugins + fi } |