Separate package config

This commit is contained in:
crazywhalecc
2026-02-02 13:32:35 +08:00
parent f232588dbe
commit 455d42d162
21 changed files with 294 additions and 157 deletions

19
config/pkg/lib/gmp.yml Normal file
View File

@@ -0,0 +1,19 @@
gmp:
type: library
static-libs@unix:
- libgmp.a
headers:
- gmp.h
pkg-configs:
- gmp
artifact:
source:
type: filelist
url: 'https://gmplib.org/download/gmp/'
regex: '/href="(?<file>gmp-(?<version>[^"]+)\.tar\.xz)"/'
source-mirror:
type: url
url: 'https://dl.static-php.dev/static-php-cli/deps/gmp/gmp-6.3.0.tar.xz'
metadata:
license-files: ['@/gmp.txt']
license: Custom