pantry/projects/libpipeline.gitlab.io/libpipeline/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

30 lines
786 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:
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:
script:
- cc test.c -lpipeline -o test
- ./test | grep "Hello world"