-
Notifications
You must be signed in to change notification settings - Fork 3
/
EclipseTemurin17.pkg.recipe
executable file
·117 lines (108 loc) · 3.37 KB
/
EclipseTemurin17.pkg.recipe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Description</key>
<string>Downloads the current release version of Eclipse Temurin 11. This is the signed pkg version rather than the tar version, for those that require a signed package rather than accurate version number.
FEATURE_VERSION may be any valid whole number, e.g. 8, 11, 16, 17. See https://api.adoptium.net/v3/info/available_releases for available feature versions.
RELEASE_TYPE can be 'ga' (general availablility) or 'ea' (early access).
OS may be 'mac' or others.
ARCH may be 'x64' (or 'arm' for some builds).
IMAGE_TYPE may be 'jdk', 'jre', 'testimage', 'debugimage' or 'staticlibs'.
JVM_IMPLEMENTATION may be "hotspot", "openj9" or "dragonwell".
HEAP_SIZE may be 'normal' or 'large'.
VENDOR may be 'adoptopenjdk', 'openjdk', 'adoptium', 'alibaba', 'ibm'.
Note that not all options are available for all vendors, and not all listed vendors may be currently available.
</string>
<key>Identifier</key>
<string>com.github.beatlemike.pkg.EclipseTemurin17</string>
<key>Input</key>
<dict>
<key>ARCH</key>
<string>x64</string>
<key>FEATURE_VERSION</key>
<string>17</string>
<key>HEAP_SIZE</key>
<string>normal</string>
<key>IMAGE_TYPE</key>
<string>jdk</string>
<key>JVM_IMPLEMENTATION</key>
<string>hotspot</string>
<key>NAME</key>
<string>Eclipse Temurin 17</string>
<key>OS</key>
<string>mac</string>
<key>RELEASE_TYPE</key>
<string>ga</string>
<key>VENDOR</key>
<string>adoptium</string>
</dict>
<key>MinimumVersion</key>
<string>2.3</string>
<key>ParentRecipe</key>
<string>com.github.beatlemike.download.EclipseTemurin17</string>
<key>Process</key>
<array>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/unpack</string>
<key>flat_pkg_path</key>
<string>%pathname%</string>
<key>purge_destination</key>
<true/>
</dict>
<key>Processor</key>
<string>FlatPkgUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>destination_path</key>
<string>%RECIPE_CACHE_DIR%/payload</string>
<key>pkg_payload_path</key>
<string>%RECIPE_CACHE_DIR%/unpack/net.temurin.17.jdk.pkg/Payload</string>
<key>purge_destination</key>
<false/>
</dict>
<key>Processor</key>
<string>PkgPayloadUnpacker</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>input_plist_path</key>
<string>%RECIPE_CACHE_DIR%/payload/Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Info.plist</string>
<key>plist_version_key</key>
<string>CFBundleShortVersionString</string>
</dict>
<key>Processor</key>
<string>Versioner</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>pkg_path</key>
<string>%RECIPE_CACHE_DIR%/EclipseTemurin_%FEATURE_VERSION%_%IMAGE_TYPE%_%ARCH%_%JVM_IMPLEMENTATION%-%version%.pkg</string>
<key>source_pkg</key>
<string>%pathname%</string>
</dict>
<key>Processor</key>
<string>PkgCopier</string>
</dict>
<dict>
<key>Arguments</key>
<dict>
<key>path_list</key>
<array>
<string>%RECIPE_CACHE_DIR%/unpack</string>
<string>%RECIPE_CACHE_DIR%/payload</string>
</array>
</dict>
<key>Processor</key>
<string>PathDeleter</string>
</dict>
</array>
</dict>
</plist>