add interprets: for java

closes https://github.com/pkgxdev/pkgx/issues/840
This commit is contained in:
Jacob Heider 2023-10-27 13:12:18 -04:00
parent 596d0c7248
commit b7413e1349
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -1,9 +1,15 @@
distributable:
url: https://github.com/openjdk/jdk20u/archive/jdk-20.0.2+9.tar.gz
strip-components: 1
versions:
- 20.0.2.9
#FIXME
interprets:
extensions: java
args: java
dependencies:
giflib.sourceforge.io: '*'
harfbuzz.org: ^8
@ -26,9 +32,11 @@ dependencies:
x.org/xtst: '*'
info-zip.org/zip: '*'
darwinsys.com/file: '*'
runtime:
env:
JAVA_HOME: '{{prefix}}'
build:
dependencies:
linux:
@ -94,6 +102,7 @@ build:
- --with-libjpeg=system
- --with-libpng=system
- --with-zlib=system
provides:
- bin/jar
- bin/jarsigner
@ -124,6 +133,7 @@ provides:
- bin/keytool
- bin/rmiregistry
- bin/serialver
test:
script:
- java --version | grep {{version.marketing}}