mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-29 12:04:27 +00:00
39 lines
1.2 KiB
JSON
39 lines
1.2 KiB
JSON
{
|
|
"homepage": "https://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": "AF90D95DA25296F945953FEB45AD755CF05ACF064F3F51122EC4BC3B36905749"
|
|
},
|
|
"32bit": {
|
|
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.23-win32-VC14.zip",
|
|
"hash": "9A7E13E7B0AEC4D664B5284FB32D5E1340C8FBEB0A65D7ED3CDFE068DFFF77B2"
|
|
}
|
|
},
|
|
"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": "https://www.apachelounge.com/download/",
|
|
"re": "Apache ([\\d.]+) Win32"
|
|
}
|
|
}
|