2024-01-29 21:42:14 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://github.com/aristocratos/btop/archive/refs/tags/{{version.tag}}.tar.gz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
display-name: btop
|
|
|
|
|
|
|
|
|
|
# if there’s a github then we can parse the versions
|
|
|
|
|
versions:
|
|
|
|
|
github: aristocratos/btop
|
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/btop
|
|
|
|
|
|
|
|
|
|
dependencies:
|
2024-01-29 22:30:07 +03:00
|
|
|
|
linux:
|
|
|
|
|
# built fine for me on macOS 14 & Xcode 15 but won’t in CI complaining
|
|
|
|
|
# that the provided clang is too old
|
|
|
|
|
# llvm^17 should work but didn’t 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'
|
2024-01-29 21:42:14 +03:00
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
env:
|
|
|
|
|
linux/x86-64:
|
|
|
|
|
LDFLAGS: -ldl $LDFLAGS
|
|
|
|
|
script:
|
|
|
|
|
- make
|
|
|
|
|
- make install PREFIX={{prefix}}
|
|
|
|
|
|
2024-01-29 22:13:16 +03:00
|
|
|
|
test: btop --version | grep {{version}}
|