mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-05 15:55:39 +08:00
Add libiconv,libssh2,libxml2,xz
This commit is contained in:
18
config/pkg/lib/libiconv.yml
Normal file
18
config/pkg/lib/libiconv.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
libiconv:
|
||||
type: library
|
||||
artifact:
|
||||
source:
|
||||
type: filelist
|
||||
url: 'https://ftp.gnu.org/gnu/libiconv/'
|
||||
regex: '/href="(?<file>libiconv-(?<version>[^"]+)\.tar\.gz)"/'
|
||||
binary: hosted
|
||||
metadata:
|
||||
license-files: [COPYING.LIB]
|
||||
license: LGPL-2.0-or-later
|
||||
headers:
|
||||
- iconv.h
|
||||
- libcharset.h
|
||||
- localcharset.h
|
||||
static-libs@unix:
|
||||
- libiconv.a
|
||||
- libcharset.a
|
||||
22
config/pkg/lib/libssh2.yml
Normal file
22
config/pkg/lib/libssh2.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
libssh2:
|
||||
type: library
|
||||
artifact:
|
||||
source:
|
||||
type: ghrel
|
||||
repo: libssh2/libssh2
|
||||
match: libssh2.+\.tar\.gz
|
||||
prefer-stable: true
|
||||
binary: hosted
|
||||
metadata:
|
||||
license-files: [COPYING]
|
||||
license: BSD-3-Clause
|
||||
depends:
|
||||
- openssl
|
||||
headers:
|
||||
- libssh2.h
|
||||
- libssh2_publickey.h
|
||||
- libssh2_sftp.h
|
||||
static-libs@unix:
|
||||
- libssh2.a
|
||||
pkg-configs:
|
||||
- libssh2
|
||||
19
config/pkg/lib/libxml2.yml
Normal file
19
config/pkg/lib/libxml2.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
libxml2:
|
||||
type: library
|
||||
artifact:
|
||||
source:
|
||||
type: ghtagtar
|
||||
repo: GNOME/libxml2
|
||||
match: 'v2\.\d+\.\d+$'
|
||||
metadata:
|
||||
license-files: [Copyright]
|
||||
license: MIT
|
||||
depends@unix:
|
||||
- libiconv
|
||||
suggests@unix:
|
||||
- xz
|
||||
- zlib
|
||||
headers:
|
||||
- libxml2
|
||||
pkg-configs:
|
||||
- libxml-2.0
|
||||
20
config/pkg/lib/xz.yml
Normal file
20
config/pkg/lib/xz.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
xz:
|
||||
type: library
|
||||
artifact:
|
||||
source:
|
||||
type: ghrel
|
||||
repo: tukaani-project/xz
|
||||
match: xz.+\.tar\.xz
|
||||
prefer-stable: true
|
||||
binary: hosted
|
||||
metadata:
|
||||
license-files: [COPYING]
|
||||
license: 0BSD
|
||||
depends@unix:
|
||||
- libiconv
|
||||
headers@unix:
|
||||
- lzma
|
||||
static-libs@unix:
|
||||
- liblzma.a
|
||||
pkg-configs:
|
||||
- liblzma
|
||||
Reference in New Issue
Block a user