mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
33 lines
867 B
YAML
33 lines
867 B
YAML
distributable:
|
|
url: https://xcb.freedesktop.org/dist/xcb-util-wm-{{version}}.tar.gz
|
|
strip-components: 1
|
|
versions:
|
|
url: https://xcb.freedesktop.org/dist/
|
|
match: /xcb-util-wm-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^xcb-util-wm-/
|
|
- /\.tar\.gz/
|
|
dependencies:
|
|
x.org/xcb: '*'
|
|
gnu.org/m4: '*'
|
|
build:
|
|
dependencies:
|
|
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:
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- cc test.c -o test
|
|
- ./test
|
|
- pkg-config --modversion xcb-ewmh | grep {{version}}
|
|
- pkg-config --modversion xcb-icccm | grep {{version}}
|