mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-24 15:11:30 +00:00
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"homepage": "http://www.apachelounge.com",
|
|
"version": "2.4.20",
|
|
"license": "Apache 2.0",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.20-win64-VC14.zip",
|
|
"hash": "5aca7e5e521c0e8aea0ac455897600c926edce4a327ffc26b22db9728ead7bac"
|
|
},
|
|
"32bit": {
|
|
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.20-win32-VC14.zip",
|
|
"hash": "a49504e044369d405b02ab0095fc56dd4dc565df09ddec51b9fd38d76edb46e9"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|