aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-10-31 07:56:15 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-10-31 07:56:15 +0000
commit94e7061558a6be3acf29fe00d365d75066787867 (patch)
tree854f63197c8f1166d243010db78bb8327b42b9e6
parent3cf4efb781d2ad0c445369a3944f2012f2f204e1 (diff)
downloadaports-94e7061558a6be3acf29fe00d365d75066787867.tar.bz2
aports-94e7061558a6be3acf29fe00d365d75066787867.tar.xz
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.
-rw-r--r--community/openjdk8/APKBUILD17
1 files changed, 13 insertions, 4 deletions
diff --git a/community/openjdk8/APKBUILD b/community/openjdk8/APKBUILD
index 27fb28c4b3..643af101fb 100644
--- a/community/openjdk8/APKBUILD
+++ b/community/openjdk8/APKBUILD
@@ -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