-
Notifications
You must be signed in to change notification settings - Fork 3
/
php71-yar.json
33 lines (33 loc) · 1.57 KB
/
php71-yar.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"homepage": "https://pecl.php.net/package/yar",
"version": "2.0.2",
"license": "http://www.php.net/license/3_01.txt",
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/yar/2.0.2/php_yar-2.0.2-7.1-ts-vc14-x64.zip",
"hash": "24069794625ac1d1f2694c8e618a27d90c46164e5e3115259c06000abd8df35e"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/yar/2.0.2/php_yar-2.0.2-7.1-ts-vc14-x86.zip",
"hash": "ac9086650664a254468b9862fae5b2e7c4614b70fb954c48612c96ac5586ee51"
}
},
"depends": [
"php"
],
"post_install": "$phpconfd = \"$persist_dir\\..\\php\\cli\\conf.d\"; if((test-path $phpconfd)) { echo \"Enabling extension $(Convert-Path $phpconfd)\\yar.ini\"; echo \"extension=$dir\\php_yar.dll\" | sc \"$phpconfd\\yar.ini\"; echo \"Remove-Item '$(Convert-Path $phpconfd)\\yar.ini'\" | sc \"$dir\\uninstall.ps1\" } else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_yar.dll manually!\" }",
"checkver": "yar/([\\d.]+)/windows",
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/yar/$version/php_yar-$version-7.1-ts-vc14-x64.zip"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/yar/$version/php_yar-$version-7.1-ts-vc14-x86.zip"
}
}
},
"uninstaller": {
"file": "uninstall.ps1"
}
}