summaryrefslogtreecommitdiffstats
path: root/base/jdk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/jdk/Pkgfile')
-rw-r--r--base/jdk/Pkgfile18
1 files changed, 17 insertions, 1 deletions
diff --git a/base/jdk/Pkgfile b/base/jdk/Pkgfile
index 6fc6a73cf..ec8f73390 100644
--- a/base/jdk/Pkgfile
+++ b/base/jdk/Pkgfile
@@ -5,7 +5,7 @@
# Depends on:
name=jdk
-version=6u15
+version=6u16
release=1
[ "`uname -m`" == "i686" ] && _ARCH=i586
[ "`uname -m`" == "x86_64" ] && _ARCH=amd64
@@ -25,4 +25,20 @@ build() {
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*
}