mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
add interprets:
for java
closes https://github.com/pkgxdev/pkgx/issues/840
This commit is contained in:
parent
596d0c7248
commit
b7413e1349
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue