Add PHP/Apache Visual C++ dependency

Also adds visual-c-14 manifest
This commit is contained in:
MPLew-is 2016-03-27 03:07:21 -04:00
parent 5017e92c0c
commit 5069b3079c
3 changed files with 51 additions and 0 deletions

View File

@ -25,6 +25,7 @@
"bin\\logresolve.exe",
"bin\\rotatelogs.exe"
],
"depends": "visual-c-14",
"post_install": "
# set directory in httpd.conf
$conf = \"$dir/conf/httpd.conf\"

View File

@ -13,6 +13,7 @@
}
},
"bin": "php.exe",
"depends": "visual-c-14",
"post_install": "cp \"$dir\\php.ini-production\" \"$dir\\php.ini\"",
"checkver": {
"url": "http://windows.php.net/download/",

49
visual-c-14.json Normal file
View File

@ -0,0 +1,49 @@
{
"homepage": "https://www.visualstudio.com",
"version": "2015",
"license": "https://www.visualstudio.com/DownloadEula/en-us/mt171552",
"architecture": {
"64bit": {
"url": "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x64.exe",
"hash": "sha256:5eea714e1f22f1875c1cb7b1738b0c0b1f02aec5ecb95f0fdb1c5171c6cd93a3",
"installer": {
"file": "vc_redist.x64.exe",
"args": [
"/install",
"/quiet",
"/norestart"
],
"keep": "true"
},
"uninstaller": {
"file": "vc_redist.x64.exe",
"args": [
"/uninstall",
"/quiet",
"/norestart"
]
}
},
"32bit": {
"url": "https://download.microsoft.com/download/9/3/F/93FCF1E7-E6A4-478B-96E7-D4B285925B00/vc_redist.x86.exe",
"hash": "sha256:fdd1e1f0dcae2d0aa0720895eff33b927d13076e64464bb7c7e5843b7667cd14",
"installer": {
"file": "vc_redist.x86.exe",
"args": [
"/install",
"/quiet",
"/norestart"
],
"keep": "true"
},
"uninstaller": {
"file": "vc_redist.x86.exe",
"args": [
"/uninstall",
"/quiet",
"/norestart"
]
}
}
}
}