pantry/projects/freedesktop.org/libbsd/package.yml
Jacob Heider 53b58fe760 fix(libbsd)
closes #4772
2024-01-08 10:32:02 -05:00

25 lines
575 B
YAML

distributable:
url: https://libbsd.freedesktop.org/releases/libbsd-{{version}}.tar.xz
strip-components: 1
versions:
github: guillemj/libbsd/tags
platforms: linux
build:
dependencies:
hadrons.org/libmd: '*'
script:
- ./configure --prefix={{prefix}}
- make --jobs {{hw.concurrency}} install
env:
linux:
# undefined symbol errors in newer llvms prevent building shared libs
CFLAGS: $CFLAGS -Wl,--undefined-version
test:
dependencies:
gnu.org/binutils: '*'
script: nm {{prefix}}/lib/libbsd.so.{{version.major}} | grep strtonum