mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 10:25:05 +03:00
parent
c3fd1aec5f
commit
13346f40cb
1 changed files with 41 additions and 0 deletions
41
projects/x.org/xi/package.yml
Normal file
41
projects/x.org/xi/package.yml
Normal file
|
@ -0,0 +1,41 @@
|
|||
distributable:
|
||||
url: https://www.x.org/archive/individual/lib/libXi-{{version}}.tar.xz
|
||||
strip-components: 1
|
||||
|
||||
versions:
|
||||
url: https://xorg.freedesktop.org/archive/individual/lib/
|
||||
match: /libXi-\d+\.\d+(\.\d+)?\.tar\.xz/
|
||||
strip:
|
||||
- /libXi-/
|
||||
- /.tar.xz/
|
||||
|
||||
dependencies:
|
||||
x.org/x11: '*'
|
||||
x.org/protocol: '*'
|
||||
x.org/xfixes: '*'
|
||||
x.org/exts: '*'
|
||||
|
||||
build:
|
||||
dependencies:
|
||||
tea.xyz/gx/cc: c99
|
||||
tea.xyz/gx/make: '*'
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script:
|
||||
- ./configure $ARGS
|
||||
- make --jobs {{ hw.concurrency }}
|
||||
- make --jobs {{ hw.concurrency }} install
|
||||
|
||||
env:
|
||||
ARGS:
|
||||
- --prefix="{{prefix}}"
|
||||
- --disable-dependency-tracking
|
||||
- --disable-silent-rules
|
||||
- --sysconfdir={{tea.prefix}}/x.org/etc
|
||||
- --localstatedir={{tea.prefix}}/x.org/var
|
||||
- --enable-docs=no
|
||||
- --enable-specs=no
|
||||
|
||||
test:
|
||||
dependencies:
|
||||
freedesktop.org/pkg-config: '*'
|
||||
script: pkg-config --modversion xi | grep {{version}}
|
Loading…
Reference in a new issue