diff options
author | tnut <tnut at nutyx dot com> | 2011-10-15 16:22:29 +0200 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2011-10-15 16:22:29 +0200 |
commit | c2c6f03e052107e84bb8c2f8dba5f115ec5c8d23 (patch) | |
tree | 850da519109cfb350450368f53460440bf4a8c1c /base/jdk/Pkgfile | |
parent | ea05d0e01eda8a1bbf8da297e5ee82af2525778e (diff) | |
download | nutyx-extra-c2c6f03e052107e84bb8c2f8dba5f115ec5c8d23.tar.gz nutyx-extra-c2c6f03e052107e84bb8c2f8dba5f115ec5c8d23.tar.bz2 nutyx-extra-c2c6f03e052107e84bb8c2f8dba5f115ec5c8d23.tar.xz nutyx-extra-c2c6f03e052107e84bb8c2f8dba5f115ec5c8d23.zip |
jdk dans extra
Diffstat (limited to 'base/jdk/Pkgfile')
-rw-r--r-- | base/jdk/Pkgfile | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/base/jdk/Pkgfile b/base/jdk/Pkgfile deleted file mode 100644 index fb26e4ef6..000000000 --- a/base/jdk/Pkgfile +++ /dev/null @@ -1,51 +0,0 @@ -# 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 - -name=jdk -version=6u26 -release=1 -[ "`uname -m`" == "i686" ] && _ARCH=i586 -[ "`uname -m`" == "x86_64" ] && _ARCH=amd64 - -source=(http://download.java.net/dlj/binaries/$name-$version-dlj-linux-${_ARCH}.bin \ - jdk.sh http://java.net/projects/jdk-distros/sources/svn/content/trunk/utils/construct.sh?raw=true ) - -build() { - mv construct.sh?raw=true construct.sh - mkdir -p $PKG/etc/profile.d/ - mkdir -p $PKG/opt - mv jdk.sh $PKG/etc/profile.d/ - chmod 755 $name-$version-dlj-linux-${_ARCH}.bin - mkdir unbundle-jdk - cd unbundle-jdk - sh ../jdk-${version}-dlj-linux-${_ARCH}.bin --accept-license - cd .. - - sh construct.sh unbundle-jdk linux-jdk linux-jre - mv linux-jdk $PKG/opt/jdk - mkdir -p $PKG/usr/share/ - mv $PKG/opt/jdk/man \ - $PKG/usr/share/ -# mv $PKG/opt/jdk/jre/man \ -# $PKG/usr/share/ - rm -r $PKG/opt/jdk/demo - rm -r $PKG/opt/jdk/sample - rm -r $PKG/opt/jdk/db/demo - rm -r $PKG/opt/jdk/db/docs - rm -r $PKG/opt/jdk/db/javadoc - rm -r $PKG/opt/jdk/jre/man/ja_JP.eucJP - rm $PKG/opt/jdk/jre/man/ja - mv $PKG/opt/jdk/jre/man/man1/* \ - $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 -} |