mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
x.org/libpthread-stubs (#2280)
* new file: projects/x.org/libpthread-stubs/package.yml * modified: projects/x.org/libpthread-stubs/package.yml
This commit is contained in:
parent
f3469a57cf
commit
c81cd86786
1 changed files with 28 additions and 0 deletions
28
projects/x.org/libpthread-stubs/package.yml
Normal file
28
projects/x.org/libpthread-stubs/package.yml
Normal file
|
@ -0,0 +1,28 @@
|
|||
distributable:
|
||||
url: https://www.x.org/releases/individual/xcb/libpthread-stubs-{{version.marketing}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://www.x.org/releases/individual/xcb/
|
||||
match: /libpthread-stubs-\d+\.\d+\.tar\.gz/
|
||||
strip:
|
||||
- /^libpthread-stubs-/
|
||||
- /\.tar\.gz$/
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
pkg-config --modversion pthread-stubs | grep {{version.marketing}}
|
Loading…
Reference in a new issue