Add openssl lib support

This commit is contained in:
crazywhalecc
2026-01-26 00:46:42 +08:00
parent a709221223
commit ccd948e58a
8 changed files with 243 additions and 11 deletions

View File

@@ -41,6 +41,21 @@ fastlz:
license-files: ['LICENSE.MIT']
license: MIT
openssl:
source:
type: ghrel
repo: openssl/openssl
match: 'openssl.+\.tar\.gz'
prefer-stable: true
source-mirror:
type: filelist
url: 'https://www.openssl.org/source/'
regex: '/href="(?<file>openssl-(?<version>[^"]+)\.tar\.gz)"/'
binary: hosted
metadata:
license-files: ['LICENSE.txt']
license: OpenSSL
zlib:
source:
type: ghrel

View File

@@ -28,6 +28,16 @@ fastlz:
- fastlz.h
artifact: fastlz
openssl:
type: library
static-libs@unix:
- libssl.a
- libcrypto.a
headers: ['openssl']
depends:
- zlib
artifact: openssl
zlib:
type: library
static-libs@unix: