mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 01:15:37 +08:00
Add go-xcaddy,musl-toolchain,php,upx, and also glfw linux support
This commit is contained in:
6
config/pkg/target/go-xcaddy.yml
Normal file
6
config/pkg/target/go-xcaddy.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
go-xcaddy:
|
||||
type: target
|
||||
artifact:
|
||||
binary: custom
|
||||
static-bins:
|
||||
- xcaddy
|
||||
6
config/pkg/target/musl-toolchain.yml
Normal file
6
config/pkg/target/musl-toolchain.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
musl-toolchain:
|
||||
type: target
|
||||
artifact:
|
||||
binary:
|
||||
linux-x86_64: { type: url, url: 'https://dl.static-php.dev/static-php-cli/deps/musl-toolchain/x86_64-musl-toolchain.tgz', extract: '{pkg_root_path}/musl-toolchain' }
|
||||
linux-aarch64: { type: url, url: 'https://dl.static-php.dev/static-php-cli/deps/musl-toolchain/aarch64-musl-toolchain.tgz', extract: '{pkg_root_path}/musl-toolchain' }
|
||||
44
config/pkg/target/php.yml
Normal file
44
config/pkg/target/php.yml
Normal file
@@ -0,0 +1,44 @@
|
||||
frankenphp:
|
||||
type: virtual-target
|
||||
artifact:
|
||||
source:
|
||||
type: ghtar
|
||||
repo: php/frankenphp
|
||||
prefer-stable: true
|
||||
metadata:
|
||||
license-files: [LICENSE]
|
||||
license: MIT
|
||||
depends:
|
||||
- php-embed
|
||||
- go-xcaddy
|
||||
php:
|
||||
type: target
|
||||
artifact: php-src
|
||||
depends@macos:
|
||||
- libxml2
|
||||
php-cgi:
|
||||
type: virtual-target
|
||||
depends:
|
||||
- php
|
||||
php-cli:
|
||||
type: virtual-target
|
||||
depends:
|
||||
- php
|
||||
php-embed:
|
||||
type: virtual-target
|
||||
depends:
|
||||
- php
|
||||
php-fpm:
|
||||
type: virtual-target
|
||||
depends:
|
||||
- php
|
||||
php-micro:
|
||||
type: virtual-target
|
||||
artifact:
|
||||
source:
|
||||
type: git
|
||||
extract: php-src/sapi/micro
|
||||
rev: master
|
||||
url: 'https://github.com/static-php/phpmicro'
|
||||
depends:
|
||||
- php
|
||||
7
config/pkg/target/upx.yml
Normal file
7
config/pkg/target/upx.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
upx:
|
||||
type: target
|
||||
artifact:
|
||||
binary:
|
||||
linux-x86_64: { type: ghrel, repo: upx/upx, match: upx.+-amd64_linux\.tar\.xz, extract: { upx: '{pkg_root_path}/bin/upx' } }
|
||||
linux-aarch64: { type: ghrel, repo: upx/upx, match: upx.+-arm64_linux\.tar\.xz, extract: { upx: '{pkg_root_path}/bin/upx' } }
|
||||
windows-x86_64: { type: ghrel, repo: upx/upx, match: upx.+-win64\.zip, extract: { upx.exe: '{pkg_root_path}/bin/upx.exe' } }
|
||||
Reference in New Issue
Block a user