-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathphp71-weakref.json
33 lines (33 loc) · 1.48 KB
/
php71-weakref.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/weakref",
"version": "0.3.3",
"license": "http://www.php.net/license/3_01.txt",
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/weakref/0.3.3/php_weakref-0.3.3-7.1-ts-vc14-x64.zip",
"hash": "04f94c163793e8db798d186eed70ad01a14f9d8f57bf00bc0301c33386e3ffa9"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/weakref/0.3.3/php_weakref-0.3.3-7.1-ts-vc14-x86.zip",
"hash": "e33a3320c17d033526cec49db673803b5ccf6597d4241b31c3a93d2ae223191d"
}
},
"depends": [
"php"
],
"post_install": "$phpconfd = \"$persist_dir\\..\\php\\cli\\conf.d\"; if((test-path $phpconfd)) { echo \"Enabling extension $(Convert-Path $phpconfd)\\weakref.ini\"; echo \"extension=$dir\\php_weakref.dll\" | sc \"$phpconfd\\weakref.ini\"; echo \"Remove-Item '$(Convert-Path $phpconfd)\\weakref.ini'\" | sc \"$dir\\uninstall.ps1\" } else { write-host -f yellow \"PHP was not installed through scoop, you have to activate php_weakref.dll manually!\" }",
"checkver": "weakref/([\\d.]+)/windows",
"autoupdate": {
"architecture": {
"64bit": {
"url": "http://windows.php.net/downloads/pecl/releases/weakref/$version/php_weakref-$version-7.1-ts-vc14-x64.zip"
},
"32bit": {
"url": "http://windows.php.net/downloads/pecl/releases/weakref/$version/php_weakref-$version-7.1-ts-vc14-x86.zip"
}
}
},
"uninstaller": {
"file": "uninstall.ps1"
}
}