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