mirror of
https://github.com/ivabus/pantry
synced 2024-11-30 04:05:06 +03:00
6b4c77cc10
* +git-quick-stats * +libbsd+util-linux+libmd * Update package.yml * fix tests
32 lines
No EOL
701 B
YAML
32 lines
No EOL
701 B
YAML
distributable:
|
|
url: https://libbsd.freedesktop.org/releases/libbsd-{{version}}.tar.xz
|
|
strip-components: 1
|
|
|
|
versions:
|
|
github: freedesktop/libbsd/tags
|
|
|
|
provides:
|
|
- bin/column
|
|
|
|
build:
|
|
dependencies:
|
|
tea.xyz/gx/cc: c99
|
|
tea.xyz/gx/make: '*'
|
|
hadrons.org/libmd: '*'
|
|
script: |
|
|
if test "{{hw.platform}}" != "linux"; then
|
|
echo "libbsd is only supported on Linux"
|
|
touch {{prefix}}/linux-only
|
|
exit 0
|
|
fi
|
|
|
|
./configure --prefix={{prefix}}
|
|
make --jobs {{hw.concurrency}} install
|
|
|
|
test:
|
|
dependencies:
|
|
gnu.org/binutils: '*'
|
|
script: |
|
|
if test "{{hw.platform}}" = "linux"; then
|
|
nm {{prefix}}/lib/libbsd.so.{{version.major}} | grep strtonum
|
|
fi |