mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
29 lines
No EOL
819 B
YAML
29 lines
No EOL
819 B
YAML
distributable:
|
|
url: https://jugit.fz-juelich.de/mlz/libcerf/-/archive/v{{version.marketing}}/libcerf-v{{version.marketing}}.tar.gz
|
|
strip-components: 1
|
|
display-name: libcerf
|
|
versions:
|
|
gitlab: jugit.fz-juelich.de:mlz/libcerf
|
|
build:
|
|
dependencies:
|
|
cmake.org: '*'
|
|
perl.org: ^5 # pod2man/pod2html
|
|
working-directory: build
|
|
script:
|
|
- cmake .. $ARGS
|
|
- make --jobs {{ hw.concurrency }} install
|
|
env:
|
|
ARGS:
|
|
- -DCMAKE_INSTALL_PREFIX={{prefix}}
|
|
- -DCMAKE_INSTALL_LIBDIR={{prefix}}/lib
|
|
- -DCMAKE_BUILD_TYPE=Release
|
|
- -DCMAKE_FIND_FRAMEWORK=LAST
|
|
- -DCMAKE_VERBOSE_MAKEFILE=ON
|
|
- -Wno-dev
|
|
test:
|
|
dependencies:
|
|
freedesktop.org/pkg-config: '*'
|
|
script:
|
|
- cc test.c -lcerf -o test
|
|
- ./test
|
|
- pkg-config --modversion libcerf | grep {{version.marketing}} |