ScoopInstaller_Main/apache.json
2014-04-09 09:13:31 +10:00

31 lines
868 B
JSON

{
"homepage": "http://www.apachelounge.com",
"version": "2.4.9",
"license": "Apache 2.0",
"url": "http://www.apachelounge.com/download/VC11/binaries/httpd-2.4.9-win32-VC11.zip",
"hash": "63888AD2C72CA256FF9E627B387A751B3AAA8CD2CFA966DF2E6CC85E71A88A27",
"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\\.]+) Win64"
}
}