mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-09 01:45:36 +08:00
Use zig toolchain by default, lint files
This commit is contained in:
@@ -4,15 +4,11 @@ curl:
|
||||
source:
|
||||
type: ghrel
|
||||
repo: curl/curl
|
||||
match: 'curl.+\.tar\.xz'
|
||||
match: curl.+\.tar\.xz
|
||||
prefer-stable: true
|
||||
metadata:
|
||||
license-files: [COPYING]
|
||||
license: curl
|
||||
static-libs@unix:
|
||||
- libcurl.a
|
||||
headers:
|
||||
- curl
|
||||
depends@unix:
|
||||
- openssl
|
||||
- zlib
|
||||
@@ -31,3 +27,7 @@ curl:
|
||||
- CoreFoundation
|
||||
- CoreServices
|
||||
- SystemConfiguration
|
||||
headers:
|
||||
- curl
|
||||
static-libs@unix:
|
||||
- libcurl.a
|
||||
|
||||
@@ -10,10 +10,10 @@ gettext:
|
||||
license: LGPL-2.1-or-later
|
||||
depends:
|
||||
- libiconv
|
||||
suggests:
|
||||
- ncurses
|
||||
- libxml2
|
||||
frameworks:
|
||||
- CoreFoundation
|
||||
static-libs@unix:
|
||||
- libintl.a
|
||||
suggests:
|
||||
- ncurses
|
||||
- libxml2
|
||||
|
||||
@@ -11,11 +11,11 @@ idn2:
|
||||
depends@macos:
|
||||
- libiconv
|
||||
- gettext
|
||||
headers:
|
||||
- idn2.h
|
||||
pkg-configs:
|
||||
- libidn2
|
||||
suggests@unix:
|
||||
- libiconv
|
||||
- gettext
|
||||
- libunistring
|
||||
headers:
|
||||
- idn2.h
|
||||
pkg-configs:
|
||||
- libidn2
|
||||
|
||||
@@ -11,6 +11,9 @@ krb5:
|
||||
source-root: src
|
||||
depends:
|
||||
- openssl
|
||||
suggests:
|
||||
- ldap
|
||||
- libedit
|
||||
frameworks:
|
||||
- Kerberos
|
||||
headers:
|
||||
@@ -18,6 +21,3 @@ krb5:
|
||||
- gssapi/gssapi.h
|
||||
pkg-configs:
|
||||
- krb5-gssapi
|
||||
suggests:
|
||||
- ldap
|
||||
- libedit
|
||||
|
||||
@@ -10,10 +10,10 @@ libxml2:
|
||||
license: MIT
|
||||
depends@unix:
|
||||
- libiconv
|
||||
suggests@unix:
|
||||
- xz
|
||||
- zlib
|
||||
headers:
|
||||
- libxml2
|
||||
pkg-configs:
|
||||
- libxml-2.0
|
||||
suggests@unix:
|
||||
- xz
|
||||
- zlib
|
||||
|
||||
@@ -11,14 +11,14 @@ nghttp2:
|
||||
depends:
|
||||
- zlib
|
||||
- openssl
|
||||
suggests:
|
||||
- libxml2
|
||||
- nghttp3
|
||||
- ngtcp2
|
||||
- brotli
|
||||
headers:
|
||||
- nghttp2
|
||||
pkg-configs:
|
||||
- libnghttp2
|
||||
static-libs@unix:
|
||||
- libnghttp2.a
|
||||
suggests:
|
||||
- libxml2
|
||||
- nghttp3
|
||||
- ngtcp2
|
||||
- brotli
|
||||
|
||||
@@ -11,6 +11,9 @@ ngtcp2:
|
||||
license: MIT
|
||||
depends:
|
||||
- openssl
|
||||
suggests:
|
||||
- nghttp3
|
||||
- brotli
|
||||
headers:
|
||||
- ngtcp2
|
||||
pkg-configs:
|
||||
@@ -19,6 +22,3 @@ ngtcp2:
|
||||
static-libs@unix:
|
||||
- libngtcp2.a
|
||||
- libngtcp2_crypto_ossl.a
|
||||
suggests:
|
||||
- nghttp3
|
||||
- brotli
|
||||
|
||||
9
config/pkg/target/pkg-config.yml
Normal file
9
config/pkg/target/pkg-config.yml
Normal file
@@ -0,0 +1,9 @@
|
||||
pkg-config:
|
||||
type: target
|
||||
artifact:
|
||||
source: 'https://dl.static-php.dev/static-php-cli/deps/pkg-config/pkg-config-0.29.2.tar.gz'
|
||||
binary:
|
||||
linux-x86_64: { type: ghrel, repo: static-php/static-php-cli-hosted, match: pkg-config-x86_64-linux-musl-1.2.5.txz, extract: { bin/pkg-config: '{pkg_root_path}/bin/pkg-config' } }
|
||||
linux-aarch64: { type: ghrel, repo: static-php/static-php-cli-hosted, match: pkg-config-aarch64-linux-musl-1.2.5.txz, extract: { bin/pkg-config: '{pkg_root_path}/bin/pkg-config' } }
|
||||
macos-x86_64: { type: ghrel, repo: static-php/static-php-cli-hosted, match: pkg-config-x86_64-darwin.txz, extract: { bin/pkg-config: '{pkg_root_path}/bin/pkg-config' } }
|
||||
macos-aarch64: { type: ghrel, repo: static-php/static-php-cli-hosted, match: pkg-config-aarch64-darwin.txz, extract: { bin/pkg-config: '{pkg_root_path}/bin/pkg-config' } }
|
||||
4
config/pkg/target/zig.yml
Normal file
4
config/pkg/target/zig.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
zig:
|
||||
type: target
|
||||
artifact:
|
||||
binary: custom
|
||||
Reference in New Issue
Block a user