From 8d8306fa31394800a8b7975fe55896c07ddfc5bf Mon Sep 17 00:00:00 2001 From: tnut Date: Sun, 28 Feb 2010 15:15:54 +0100 Subject: Maj jdk#6u18-2, ajout du lien plugin pour firefox --- base/jdk/Pkgfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'base/jdk/Pkgfile') 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 } -- cgit v1.2.3-70-g09d2