mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 18:45:19 +03:00
34 lines
788 B
YAML
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}}
|