pantry/projects/freedesktop.org/libbsd/package.yml
Jacob Heider d0afeaf2f4
have get-platforms partial filter unavailable platforms, instead of dropping (#1739)
* improve get-platforms.ts

* test half filtered

* figured this might be weird

* no undefined, i guess.

* or double quotes

* ready
2023-04-29 21:45:57 -04:00

23 lines
485 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:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
hadrons.org/libmd: '*'
script: |
./configure --prefix={{prefix}}
make --jobs {{hw.concurrency}} install
test:
dependencies:
gnu.org/binutils: '*'
script:
nm {{prefix}}/lib/libbsd.so.{{version.major}} | grep strtonum