summaryrefslogtreecommitdiffstats
path: root/base/jdk/Pkgfile
diff options
context:
space:
mode:
authorsibelle <lesibel@free.fr>2010-02-28 21:35:23 +0100
committersibelle <lesibel@free.fr>2010-02-28 21:35:23 +0100
commitd39b96da3a824aa47bb9609c8b3bc037e8d48f27 (patch)
treeadd8e5cbb04af7b1db8445cf1dbae54eabca018f /base/jdk/Pkgfile
parente57f8d990a2d9ae2c84bbe39d2a53537a2533517 (diff)
parenta3fa0507e5fb9711b66619e800f8a3a133ff5727 (diff)
downloadnutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.tar.gz
nutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.tar.bz2
nutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.tar.xz
nutyx-extra-d39b96da3a824aa47bb9609c8b3bc037e8d48f27.zip
Merge remote branch 'nutyx-2009/master'
Diffstat (limited to 'base/jdk/Pkgfile')
-rw-r--r--base/jdk/Pkgfile10
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
}