ScoopInstaller_Main/apache.json
2015-10-26 02:08:52 +03:00

31 lines
976 B
JSON

{
"homepage": "http://www.apachelounge.com",
"version": "2.4.17",
"license": "Apache 2.0",
"url": "https://www.apachelounge.com/download/VC11/binaries/httpd-2.4.17-win32-VC11.zip",
"hash": "7DFE0AD3F58593AE5032B8FE895A3670C1BD8E65D0E56102CA9E879AC2D1E6BF",
"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"
}
}