mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
27 lines
697 B
YAML
27 lines
697 B
YAML
|
distributable:
|
||
|
url: https://ftp.gnu.org/gnu/libsigsegv/libsigsegv-{{version.marketing}}.tar.gz
|
||
|
strip-components: 1
|
||
|
versions:
|
||
|
url: https://ftp.gnu.org/gnu/libsigsegv/
|
||
|
match: /libsigsegv-(\d+\.\d+(\.\d+)?).tar.gz/
|
||
|
strip:
|
||
|
- /^libsigsegv-/
|
||
|
- /\.tar\.gz$/
|
||
|
build:
|
||
|
script:
|
||
|
- ./configure $ARGS
|
||
|
- make --jobs {{hw.concurrency}}
|
||
|
- make --jobs {{hw.concurrency}} check
|
||
|
- make --jobs {{hw.concurrency}} install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --disable-debug
|
||
|
- --disable-dependency-tracking
|
||
|
- --prefix={{prefix}}
|
||
|
- --libdir={{prefix}}/lib
|
||
|
- --enable-shared
|
||
|
- --enable-relocatable
|
||
|
test:
|
||
|
- cc test.c -lsigsegv -o test
|
||
|
- ./test | grep 'Test passed'
|