diff --git a/srcpkgs/openjdk11-jmods b/srcpkgs/openjdk11-jmods new file mode 120000 index 0000000000..8213494c49 --- /dev/null +++ b/srcpkgs/openjdk11-jmods @@ -0,0 +1 @@ +openjdk11 \ No newline at end of file diff --git a/srcpkgs/openjdk11/template b/srcpkgs/openjdk11/template index f0b16258cf..ba11f44a43 100644 --- a/srcpkgs/openjdk11/template +++ b/srcpkgs/openjdk11/template @@ -161,7 +161,7 @@ do_install() { vlicense LICENSE } -subpackages="openjdk11-src openjdk11-jre openjdk11-doc openjdk11-static-libs" +subpackages="openjdk11-src openjdk11-jre openjdk11-doc openjdk11-jmods openjdk11-static-libs" openjdk11-jre_package() { shlib_provides="libawt.so libawt_xawt.so libjava.so libjli.so libjvm.so libjawt.so" @@ -229,3 +229,11 @@ openjdk11-static-libs_package() { vcopy build/*-normal-*-release/images/static-libs/lib $_jdk_home } } + +openjdk11-jmods_package() { + short_desc+=" - JMODs" + depends="${pkgname}-${version}_${revision}" + pkg_install() { + vmove $_jdk_home/jmods + } +}