pantry/projects/freedesktop.org/libbsd/package.yml

25 lines
575 B
YAML
Raw Normal View History

distributable:
url: https://libbsd.freedesktop.org/releases/libbsd-{{version}}.tar.xz
strip-components: 1
versions:
2023-04-22 00:19:52 +03:00
github: guillemj/libbsd/tags
2023-04-24 22:57:50 +03:00
platforms: linux
build:
dependencies:
hadrons.org/libmd: '*'
2024-01-08 18:05:38 +03:00
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: '*'
2024-01-08 18:05:38 +03:00
script: nm {{prefix}}/lib/libbsd.so.{{version.major}} | grep strtonum