ScoopInstaller_Main/apache.json
2016-07-19 23:02:36 +10:00

39 lines
1.2 KiB
JSON

{
"homepage": "http://www.apachelounge.com",
"version": "2.4.23",
"license": "Apache 2.0",
"architecture": {
"64bit": {
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.23-win64-VC14.zip",
"hash": "32A06E5E15CA3E344C2C548E69B8D0ADFE40F6AE955A7028E87B87FE677B3B70"
},
"32bit": {
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.23-win32-VC14.zip",
"hash": "7186236C939D3148BA8F35E88A9592F49A9E35C428115CF3445D81312D13962B"
}
},
"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"
],
"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"
}
}