mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+btop (#5029)
* +btop * wip * wip * wip * wip * wip * wip * wip * wip * wip
This commit is contained in:
parent
d05b43431e
commit
9b5a850b0d
1 changed files with 35 additions and 0 deletions
35
projects/github.com/aristocratos/btop/package.yml
Normal file
35
projects/github.com/aristocratos/btop/package.yml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
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:
|
||||||
|
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'
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
darwin/x86-64:
|
||||||
|
# it is not overly clear to us why this is required
|
||||||
|
gnu.org/gcc: '>=10'
|
||||||
|
env:
|
||||||
|
linux/x86-64:
|
||||||
|
LDFLAGS: -ldl $LDFLAGS
|
||||||
|
script:
|
||||||
|
- make
|
||||||
|
- make install PREFIX={{prefix}}
|
||||||
|
|
||||||
|
test:
|
||||||
|
btop --version | grep {{version}}
|
Loading…
Reference in a new issue