ScoopInstaller_Main/apache.json
MPLew-is a66e2c69bc Add hash algorithm label for verbosity
Prevents breaking if this changes sometime in the future
2016-03-27 03:07:42 -04:00

40 lines
1.3 KiB
JSON

{
"homepage": "http://www.apachelounge.com",
"version": "2.4.18",
"license": "Apache 2.0",
"architecture": {
"64bit": {
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.18-win64-VC14.zip",
"hash": "sha256:543aff046b0ea2bf58be76d7d20fcd1fa16eec9ae836ca4639feb1c2a7e09cfa"
},
"32bit": {
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.18-win32-VC14.zip",
"hash": "sha256:2259bea85cbcb4e9e525bfff0863b4ae3eae5f91fddb153191fd310575a04f38"
}
},
"extract_dir": "Apache24",
"bin": [
"bin\\ab.exe",
"bin\\abs.exe",
"bin\\htcacheclean.exe",
"bin\\htdbm.exe",
"bin\\htdigest.exe",
"bin\\htpasswd.exe",
"bin\\httpd.exe",
"bin\\httxt2dbm.exe",
"bin\\logresolve.exe",
"bin\\rotatelogs.exe"
],
"depends": "visual-c-14",
"post_install": "
# set directory in httpd.conf
$conf = \"$dir/conf/httpd.conf\"
$root=(scoop which httpd | split-path -res -par | split-path -par) -replace '\\\\', '/';
(gc $conf) | % { $_ -replace 'c:/Apache24', \"$root\" } | sc $conf
",
"checkver": {
"url": "http://www.apachelounge.com/download/",
"re": "Apache ([0-9\\.]+) Win32"
}
}