pantry/projects/github.com/aristocratos/btop/package.yml
Jacob Heider ef227ec58b
fix(btop)[1]
got too aggressive
2024-01-29 14:30:07 -05:00

34 lines
788 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

distributable:
url: https://github.com/aristocratos/btop/archive/refs/tags/{{version.tag}}.tar.gz
strip-components: 1
display-name: btop
# if theres a github then we can parse the versions
versions:
github: aristocratos/btop
provides:
- bin/btop
dependencies:
linux:
# built fine for me on macOS 14 & Xcode 15 but wont in CI complaining
# that the provided clang is too old
# llvm^17 should work but didnt for headers not found reasons
# needed for build and runtime
gnu.org/gcc: '>=10'
darwin/x86-64:
# it is not overly clear to us why this is required
gnu.org/gcc: '>=10'
build:
env:
linux/x86-64:
LDFLAGS: -ldl $LDFLAGS
script:
- make
- make install PREFIX={{prefix}}
test: btop --version | grep {{version}}