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

34 lines
788 B
YAML

distributable:
url: https://www.x.org/pub/individual/lib/libpciaccess-{{version.marketing}}.tar.gz
strip-components: 1
versions:
url: https://www.x.org/pub/individual/lib/
match: /libpciaccess-\d+\.\d+\.tar\.gz/
strip:
- /^libpciaccess-/
- /\.tar\.gz$/
platforms:
- linux
build:
dependencies:
freedesktop.org/pkg-config: '*'
x.org/util-macros: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --sysconfdir={{prefix}}/etc
- --localstatedir={{prefix}}/var
- --disable-dependency-tracking
- --disable-silent-rules
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion pciaccess | grep {{version.marketing}}