pantry/projects/x.org/libpthread-stubs/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

26 lines
621 B
YAML

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:
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}}