ScoopInstaller_Main/apache.json
2016-12-20 13:36:08 +01:00

39 lines
1.2 KiB
JSON

{
"homepage": "https://www.apachelounge.com",
"version": "2.4.25",
"license": "Apache 2.0",
"architecture": {
"64bit": {
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.25-win64-VC14.zip",
"hash": "C4625C3ABD688941FC80548B8C8314E1C5278804A019C14BFFC92DC49A087905"
},
"32bit": {
"url": "https://www.apachelounge.com/download/VC14/binaries/httpd-2.4.25-win32-VC14.zip",
"hash": "D41705CC6FAFDF122B0B5B6EBA90E0D4A2B3208A3431B7972ADF718E274CCA33"
}
},
"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"
}
}