mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-12 11:41:20 +00:00
37 lines
1.3 KiB
JSON
37 lines
1.3 KiB
JSON
{
|
|
"homepage": "https://zookeeper.apache.org/",
|
|
"description": "High-performance coordination service for distributed applications",
|
|
"version": "3.6.0",
|
|
"license": "Apache-2.0",
|
|
"url": "https://www.apache.org/dist/zookeeper/zookeeper-3.6.0/apache-zookeeper-3.6.0-bin.tar.gz",
|
|
"hash": "sha512:862c96572bc085fd6ac5ad55f07b77b2ec78f7eb510b6c190c60a35cb13d15a7de9274fd48f96ae52d559e93691a57b5bc6e4cd43a4d66154983757623401dc7",
|
|
"extract_dir": "apache-zookeeper-3.6.0-bin",
|
|
"bin": [
|
|
"bin\\zkServer.cmd",
|
|
"bin\\zkCli.cmd"
|
|
],
|
|
"persist": "data",
|
|
"suggest": {
|
|
"JDK": [
|
|
"java/oraclejdk",
|
|
"java/openjdk"
|
|
]
|
|
},
|
|
"post_install": [
|
|
"$dataDirPath = (\"$dir\\data\").replace('\\', '\\\\')",
|
|
"(Get-Content \"$dir\\conf\\zoo_sample.cfg\") -Replace '^dataDir=(.+)$', \"dataDir=$dataDirPath\" | Set-Content \"$dir\\conf\\zoo.cfg\" -Encoding Ascii"
|
|
],
|
|
"checkver": {
|
|
"url": "https://www.apache.org/dist/zookeeper/",
|
|
"re": "zookeeper-([\\d.]+)/",
|
|
"reverse": true
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://www.apache.org/dist/zookeeper/zookeeper-$version/apache-zookeeper-$version-bin.tar.gz",
|
|
"hash": {
|
|
"url": "$url.sha512"
|
|
},
|
|
"extract_dir": "apache-zookeeper-$version-bin"
|
|
}
|
|
}
|