refactor and add more linux extensions and libraries

This commit is contained in:
crazywhalecc
2023-03-26 22:27:51 +08:00
parent 17e0265ed0
commit 84b1732683
38 changed files with 1059 additions and 360 deletions

View File

@@ -70,6 +70,9 @@
"zlib",
"libpng"
],
"ext-depends": [
"zlib"
],
"lib-suggests": [
"gd",
"libavif",
@@ -148,6 +151,10 @@
"onig"
]
},
"mongodb": {
"type": "external",
"source": "mongodb"
},
"mysqli": {
"type": "builtin",
"arg-type": "with",
@@ -284,8 +291,7 @@
"type": "external",
"source": "swoole",
"lib-depends": [
"openssl",
"curl"
"openssl"
],
"ext-depends": [
"openssl"
@@ -357,6 +363,10 @@
"libxslt"
]
},
"protobuf": {
"type": "external",
"source": "protobuf"
},
"yaml": {
"type": "external",
"source": "yaml",

View File

@@ -349,6 +349,9 @@
"headers-windows": [
"lzma",
"lzma.h"
],
"lib-depends": [
"libiconv"
]
},
"zlib": {

View File

@@ -141,6 +141,16 @@
"path": "LICENSE"
}
},
"mongodb": {
"type": "ghrel",
"repo": "mongodb/mongo-php-driver",
"path": "php-src/ext/mongodb",
"match": "mongodb.+\\.tgz",
"license": {
"type": "file",
"path": "LICENSE"
}
},
"nghttp2": {
"type": "ghrel",
"repo": "nghttp2/nghttp2",
@@ -158,6 +168,16 @@
"path": "LICENSE"
}
},
"protobuf": {
"type": "url",
"url": "http://pecl.php.net/get/protobuf",
"path": "php-src/ext/protobuf",
"filename": "protobuf.tgz",
"license": {
"type": "file",
"path": "LICENSE"
}
},
"onig": {
"type": "ghrel",
"repo": "kkos/oniguruma",