mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-07-08 09:25:35 +08:00
add ext-gearman
This commit is contained in:
16
config/pkg/ext/ext-gearman.yml
Normal file
16
config/pkg/ext/ext-gearman.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
ext-gearman:
|
||||
type: php-extension
|
||||
artifact:
|
||||
source:
|
||||
type: pecl
|
||||
name: gearman
|
||||
metadata:
|
||||
license-files: [LICENSE]
|
||||
license: PHP-3.01
|
||||
depends:
|
||||
- libgearman
|
||||
php-extension:
|
||||
os:
|
||||
- Linux
|
||||
- Darwin
|
||||
arg-type: custom
|
||||
@@ -16,3 +16,4 @@ libevent:
|
||||
- libevent_core.a
|
||||
- libevent_extra.a
|
||||
- libevent_openssl.a
|
||||
- libevent_pthreads.a
|
||||
|
||||
23
config/pkg/lib/libgearman.yml
Normal file
23
config/pkg/lib/libgearman.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
libgearman:
|
||||
type: library
|
||||
artifact:
|
||||
source:
|
||||
type: ghrel
|
||||
repo: gearman/gearmand
|
||||
match: gearmand-.+\.tar\.gz
|
||||
prefer-stable: true
|
||||
metadata:
|
||||
license-files: [COPYING]
|
||||
license: BSD-3-Clause
|
||||
depends:
|
||||
- libevent
|
||||
- libuuid
|
||||
suggests:
|
||||
- libmemcached
|
||||
headers@unix:
|
||||
- libgearman-1.0/gearman.h
|
||||
lang: cpp
|
||||
pkg-configs:
|
||||
- gearmand
|
||||
static-libs@unix:
|
||||
- libgearman.a
|
||||
Reference in New Issue
Block a user