mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 09:55:37 +08:00
Merge remote-tracking branch 'origin/v3-feat/check-update' into v3-feat/check-update
This commit is contained in:
@@ -5,3 +5,7 @@ php-src:
|
||||
license: PHP-3.01
|
||||
source:
|
||||
type: php-release
|
||||
domain: 'https://www.php.net'
|
||||
source-mirror:
|
||||
type: php-release
|
||||
domain: 'https://phpmirror.static-php.dev'
|
||||
|
||||
@@ -10,6 +10,7 @@ use StaticPHP\Artifact\Downloader\Type\GitHubRelease;
|
||||
use StaticPHP\Artifact\Downloader\Type\GitHubTarball;
|
||||
use StaticPHP\Artifact\Downloader\Type\HostedPackageBin;
|
||||
use StaticPHP\Artifact\Downloader\Type\LocalDir;
|
||||
use StaticPHP\Artifact\Downloader\Type\PECL;
|
||||
use StaticPHP\Artifact\Downloader\Type\PhpRelease;
|
||||
use StaticPHP\Artifact\Downloader\Type\PIE;
|
||||
use StaticPHP\Artifact\Downloader\Type\Url;
|
||||
@@ -24,6 +25,7 @@ return [
|
||||
'ghtagtar' => GitHubTarball::class,
|
||||
'local' => LocalDir::class,
|
||||
'pie' => PIE::class,
|
||||
'pecl' => PECL::class,
|
||||
'url' => Url::class,
|
||||
'php-release' => PhpRelease::class,
|
||||
'hosted' => HostedPackageBin::class,
|
||||
|
||||
@@ -1,5 +1,19 @@
|
||||
ext-bcmath:
|
||||
type: php-extension
|
||||
ext-mbregex:
|
||||
type: php-extension
|
||||
depends:
|
||||
- onig
|
||||
- ext-mbstring
|
||||
php-extension:
|
||||
arg-type: custom
|
||||
build-shared: false
|
||||
build-static: true
|
||||
display-name: mbstring
|
||||
ext-mbstring:
|
||||
type: php-extension
|
||||
php-extension:
|
||||
arg-type: custom
|
||||
ext-openssl:
|
||||
type: php-extension
|
||||
depends:
|
||||
@@ -10,6 +24,21 @@ ext-openssl:
|
||||
arg-type: custom
|
||||
arg-type@windows: with
|
||||
build-with-php: true
|
||||
ext-phar:
|
||||
type: php-extension
|
||||
depends:
|
||||
- zlib
|
||||
ext-readline:
|
||||
type: php-extension
|
||||
depends:
|
||||
- libedit
|
||||
php-extension:
|
||||
support:
|
||||
Windows: wip
|
||||
BSD: wip
|
||||
arg-type: with-path
|
||||
build-shared: false
|
||||
build-static: true
|
||||
ext-zlib:
|
||||
type: php-extension
|
||||
depends:
|
||||
|
||||
@@ -2,10 +2,8 @@ ext-amqp:
|
||||
type: php-extension
|
||||
artifact:
|
||||
source:
|
||||
type: url
|
||||
url: 'https://pecl.php.net/get/amqp'
|
||||
extract: php-src/ext/amqp
|
||||
filename: amqp.tgz
|
||||
type: pecl
|
||||
name: amqp
|
||||
metadata:
|
||||
license-files: [LICENSE]
|
||||
license: PHP-3.01
|
||||
|
||||
@@ -2,10 +2,8 @@ ext-apcu:
|
||||
type: php-extension
|
||||
artifact:
|
||||
source:
|
||||
type: url
|
||||
url: 'https://pecl.php.net/get/APCu'
|
||||
extract: php-src/ext/apcu
|
||||
filename: apcu.tgz
|
||||
type: pecl
|
||||
name: APCu
|
||||
metadata:
|
||||
license-files: [LICENSE]
|
||||
license: PHP-3.01
|
||||
|
||||
6
config/pkg/ext/ext-ast.yml
Normal file
6
config/pkg/ext/ext-ast.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
ext-ast:
|
||||
type: php-extension
|
||||
artifact:
|
||||
source:
|
||||
type: pecl
|
||||
name: ast
|
||||
@@ -1,10 +0,0 @@
|
||||
ext-mbregex:
|
||||
type: php-extension
|
||||
depends:
|
||||
- onig
|
||||
- ext-mbstring
|
||||
php-extension:
|
||||
arg-type: custom
|
||||
build-shared: false
|
||||
build-static: true
|
||||
display-name: mbstring
|
||||
@@ -1,4 +0,0 @@
|
||||
ext-mbstring:
|
||||
type: php-extension
|
||||
php-extension:
|
||||
arg-type: custom
|
||||
@@ -1,4 +0,0 @@
|
||||
ext-phar:
|
||||
type: php-extension
|
||||
depends:
|
||||
- zlib
|
||||
@@ -1,11 +0,0 @@
|
||||
ext-readline:
|
||||
type: php-extension
|
||||
depends:
|
||||
- libedit
|
||||
php-extension:
|
||||
support:
|
||||
Windows: wip
|
||||
BSD: wip
|
||||
arg-type: with-path
|
||||
build-shared: false
|
||||
build-static: true
|
||||
@@ -3,7 +3,7 @@ gmp:
|
||||
artifact:
|
||||
source:
|
||||
type: filelist
|
||||
url: 'https://gmplib.org/download/gmp/'
|
||||
url: 'https://ftp.gnu.org/gnu/gmp/'
|
||||
regex: '/href="(?<file>gmp-(?<version>[^"]+)\.tar\.xz)"/'
|
||||
source-mirror:
|
||||
type: url
|
||||
|
||||
Reference in New Issue
Block a user