mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
b2981dfe43
commit
f716b672a9
32
projects/x.org/protocol/package.yml
Normal file
32
projects/x.org/protocol/package.yml
Normal file
|
@ -0,0 +1,32 @@
|
|||
distributable:
|
||||
url: https://xorg.freedesktop.org/archive/individual/proto/xorgproto-{{version.raw}}.tar.gz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
- 2022.2
|
||||
# https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/tags
|
||||
|
||||
dependencies:
|
||||
x.org/util-macros: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
# ^^ often packages need dependencies to build, it is very common for
|
||||
# packages to need a C compiler and make, the above provide those
|
||||
script: |
|
||||
./configure \
|
||||
--prefix="{{prefix}}" \
|
||||
--sysconfdir="$SHELF"/etc \
|
||||
--localstatedir="$SHELF"/var
|
||||
make --jobs {{ hw.concurrency }} install
|
||||
env:
|
||||
SHELF: ${{tea.prefix}}/x.org
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: ~0.29
|
||||
script: |
|
||||
pkg-config --cflags xproto
|
||||
pkg-config --cflags xf86driproto
|
Loading…
Reference in a new issue