ScoopInstaller_Main/apache.json
2014-03-16 10:57:30 +10:00

39 lines
1.0 KiB
JSON

{
"homepage": "http://www.apachelounge.com",
"version": "2.4.7",
"license": "Apache 2.0",
"architecture": {
"64bit": {
"url": "http://www.apachelounge.com/download/VC11/binaries/httpd-2.4.7-win64-VC11.zip",
"hash": "sha1:88A586D2794BF46952259E2C76D781246D70C057"
},
"32bit": {
"url": "http://www.apachelounge.com/download/VC11/binaries/httpd-2.4.7-win32-VC11.zip",
"hash": "sha1:B155FC75A540385E18F59E391DB035318D9B21F4"
}
},
"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"
}
}