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