Add zstd,libcares

This commit is contained in:
crazywhalecc
2026-02-02 16:15:36 +08:00
parent 3d102363c4
commit 6ee8dc7994
4 changed files with 109 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
libcares:
type: library
artifact:
source:
type: ghrel
repo: c-ares/c-ares
match: c-ares-.+\.tar\.gz
prefer-stable: true
source-mirror:
type: filelist
url: 'https://c-ares.org/download/'
regex: '/href="\/download\/(?<file>c-ares-(?<version>[^"]+)\.tar\.gz)"/'
binary: hosted
metadata:
license-files: [LICENSE.md]
headers@unix:
- ares.h
- ares_dns.h
- ares_nameser.h
static-libs@unix:
- libcares.a
pkg-configs:
- libcares

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

@@ -0,0 +1,19 @@
zstd:
type: library
artifact:
source:
type: ghrel
repo: facebook/zstd
match: zstd.+\.tar\.gz
prefer-stable: true
metadata:
license-files: [LICENSE]
license: BSD-3-Clause
headers@unix:
- zdict.h
- zstd.h
- zstd_errors.h
static-libs@unix:
- libzstd.a
pkg-configs:
- libzstd