openjdk11: add openjdk11-static-libs subpackage.
Needed for tooling related to GraalVM.
This commit is contained in:
parent
3b00be1b5d
commit
ea95ec605b
2 changed files with 12 additions and 2 deletions
1
srcpkgs/openjdk11-static-libs
Symbolic link
1
srcpkgs/openjdk11-static-libs
Symbolic link
|
@ -0,0 +1 @@
|
|||
openjdk11
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'openjdk11'
|
||||
pkgname=openjdk11
|
||||
version=11.0.12+5
|
||||
revision=1
|
||||
revision=2
|
||||
_java_ver="${version%%.*}"
|
||||
_openjdk_version="openjdk-${_java_ver}"
|
||||
wrksrc="jdk${_java_ver}u-jdk-${version}"
|
||||
|
@ -24,7 +24,7 @@ configure_args="
|
|||
--with-vendor-url="https://voidlinux.org/"
|
||||
--with-vendor-bug-url="https://github.com/void-linux/void-packages/issues"
|
||||
--with-vendor-vm-bug-url="https://github.com/void-linux/void-packages/issues""
|
||||
make_build_args="images $(vopt_if docs docs)"
|
||||
make_build_args="images static-libs-image $(vopt_if docs docs)"
|
||||
make_check_target="test-hotspot-gtest"
|
||||
hostmakedepends="pkg-config automake autoconf cpio tar unzip zip ca-certificates
|
||||
openssl zlib-devel which make-ca"
|
||||
|
@ -190,3 +190,12 @@ openjdk11-src_package() {
|
|||
vmove "usr/lib/jvm/openjdk11/lib/src.zip"
|
||||
}
|
||||
}
|
||||
|
||||
openjdk11-static-libs_package() {
|
||||
notstrip=yes
|
||||
short_desc+=" -- static libs"
|
||||
pkg_install() {
|
||||
vmkdir usr/lib/jvm/openjdk${_java_ver}
|
||||
vcopy build/*-normal-*-release/images/static-libs/lib "usr/lib/jvm/openjdk${_java_ver}"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue