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