mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
35 lines
855 B
YAML
35 lines
855 B
YAML
|
distributable:
|
||
|
url: https://www.x.org/archive/individual/lib/libSM-{{version}}.tar.xz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
url: https://www.x.org/archive/individual/lib/
|
||
|
match: /libSM-\d+\.\d+\.\d+\.tar\.xz/
|
||
|
strip:
|
||
|
- /^libSM-/
|
||
|
- /\.tar\.xz/
|
||
|
dependencies:
|
||
|
x.org/ice: '*'
|
||
|
build:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
x.org/xtrans: '*'
|
||
|
script:
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{ hw.concurrency }}
|
||
|
- make --jobs {{ hw.concurrency }} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix={{prefix}}
|
||
|
- --sysconfdir={{prefix}}/etc
|
||
|
- --localstatedir={{prefix}}/var
|
||
|
- --disable-dependency-tracking
|
||
|
- --disable-silent-rules
|
||
|
- --enable-docs=no
|
||
|
test:
|
||
|
dependencies:
|
||
|
freedesktop.org/pkg-config: '*'
|
||
|
script:
|
||
|
- cc test.c -o test
|
||
|
- ./test
|
||
|
- pkg-config --modversion sm | grep {{version}}
|