mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
12882265c6
new file: projects/libpipeline.gitlab.io/libpipeline/test.c
31 lines
832 B
YAML
31 lines
832 B
YAML
distributable:
|
|
url: https://download.savannah.nongnu.org/releases/libpipeline/libpipeline-{{version}}.tar.gz
|
|
strip-components: 1
|
|
display-name: libpipeline
|
|
versions:
|
|
url: https://download.savannah.nongnu.org/releases/libpipeline/
|
|
match: /libpipeline-\d+\.\d+\.\d+\.tar\.gz/
|
|
strip:
|
|
- /^libpipeline-/
|
|
- /\.tar\.gz/
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
gnu.org/make: '*'
|
|
script:
|
|
- ./configure $CONFIGURE_ARGS
|
|
- make --jobs {{hw.concurrency}}
|
|
- make --jobs {{hw.concurrency}} install
|
|
env:
|
|
CONFIGURE_ARGS:
|
|
- --disable-debug
|
|
- --disable-dependency-tracking
|
|
- --prefix="{{prefix}}"
|
|
- --libdir="{{prefix}}/lib"
|
|
- --disable-silent-rules
|
|
test:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
script:
|
|
- cc test.c -lpipeline -o test
|
|
- ./test | grep "Hello world"
|