mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
6ff2d37be1
new file: projects/freedesktop.org/xcb-util/test.c
34 lines
852 B
YAML
34 lines
852 B
YAML
distributable:
|
|
url: https://xcb.freedesktop.org/dist/xcb-util-{{version}}.tar.xz
|
|
strip-components: 1
|
|
versions:
|
|
url: https://xcb.freedesktop.org/dist/
|
|
match: /xcb-util-\d+\.\d+\.\d+\.tar\.xz/
|
|
strip:
|
|
- /^xcb-util-/
|
|
- /\.tar\.xz/
|
|
dependencies:
|
|
x.org/xcb: '*'
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- ./configure $CONFIGURE_ARGS
|
|
- make --jobs {{ hw.concurrency }}
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
CONFIGURE_ARGS:
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- cc test.c -o test
|
|
- ./test
|
|
- pkg-config --modversion xcb-util | grep {{version}}
|