mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
30 lines
699 B
YAML
30 lines
699 B
YAML
distributable:
|
|
url: https://xorg.freedesktop.org/archive/individual/proto/xorgproto-{{version.raw}}.tar.gz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://xorg.freedesktop.org/archive/individual/proto/
|
|
match: /xorgproto-\d+\.\d+(\.\d+)?\.tar\.gz/
|
|
strip:
|
|
- /xorgproto-/
|
|
- /.tar.gz/
|
|
|
|
dependencies:
|
|
x.org/util-macros: '*'
|
|
|
|
build:
|
|
script: |
|
|
./configure \
|
|
--prefix="{{prefix}}" \
|
|
--sysconfdir="$SHELF"/etc \
|
|
--localstatedir="$SHELF"/var
|
|
make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
SHELF: ${{pkgx.prefix}}/x.org
|
|
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: ~0.29
|
|
script: |
|
|
pkg-config --cflags xproto
|
|
pkg-config --cflags xf86driproto
|