Commit 94e70615 authored by Timo Teräs's avatar Timo Teräs
Browse files

community/openjdk8: fix javac, split -demos

ct.sym needs read permission for javac to work, fix that. and
split demos and samples to separate package.
parent 3cf4efb7
......@@ -5,7 +5,7 @@ _java_ver=8
_jdk_update=66
_jdk_build=17
pkgver=$_java_ver.$_jdk_update.$_jdk_build
pkgrel=0
pkgrel=1
pkgdesc="Sun OpenJDK 8"
url="http://openjdk.java.net"
arch="x86_64 x86"
......@@ -37,7 +37,7 @@ ldpath="$_jrelib:$_jrelib/native_threads:$_jrelib/headless:$_jrelib/server:$_jre
sonameprefix="$pkgname:"
subpackages="$pkgname-jre-lib:jrelib $pkgname-jre $pkgname-jre-base:jrebase
$pkgname-doc:doc"
$pkgname-doc:doc $pkgname-demos:demos"
_dropsurl=http://hg.openjdk.java.net/jdk8u/jdk8u
_dropsver=jdk${_java_ver}u${_jdk_update}-b${_jdk_build}
......@@ -137,11 +137,11 @@ pax_mark_vm() {
package() {
mkdir -p "$pkgdir"/$INSTALL_BASE
cp -a "$_builddir"/build/*/images/j2sdk-image/* "$pkgdir"/$INSTALL_BASE
rm "$pkgdir"/$INSTALL_BASE/src.zipa
rm "$pkgdir"/$INSTALL_BASE/src.zip
find "$pkgdir"/$INSTALL_BASE -iname "*.diz" -delete
find "$pkgdir"/$INSTALL_BASE -iname "*.debuginfo" -delete
find "$pkgdir"/$INSTALL_BASE -name "*.jar" \! -perm +006 \
find "$pkgdir"/$INSTALL_BASE \( -name "*.jar" -o -name "*.sym" \) \! -perm +006 \
| xargs chmod go+r
pax_mark_vm "$pkgdir"/$INSTALL_BASE
......@@ -202,6 +202,15 @@ doc() {
mv "$pkgdir"/$INSTALL_BASE/man "$subpkgdir"/$INSTALL_BASE/
}
demos() {
pkgdesc="OpenJDK 8 Java Demos and Samples"
depends="$pkgname"
mkdir -p "$subpkgdir"/$INSTALL_BASE/
mv "$pkgdir"/$INSTALL_BASE/demo "$pkgdir"/$INSTALL_BASE/sample \
"$subpkgdir"/$INSTALL_BASE/
}
md5sums="8b363a941ca813739f63ef81c8b58cb3 jdk8u-jdk8u66-b17.tar.bz2
c99a63dfaf2b2f8cc549e65b790a2e7a corba-jdk8u66-b17.tar.bz2
5b32371928b7aa67646b560e5c89dcde jaxp-jdk8u66-b17.tar.bz2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment