2023-04-01 05:02:19 +03:00
|
|
|
distributable:
|
2023-09-11 22:26:36 +03:00
|
|
|
url: https://dev.yorhel.nl/download/ncdu-{{ version.raw }}.tar.gz
|
2023-04-01 05:02:19 +03:00
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/ncdu
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://dev.yorhel.nl/download/
|
|
|
|
match: /ncdu-1\.\d+(\.\d+)?\.tar\.gz/ # v2 is `zig`, which is a whole thing
|
|
|
|
strip:
|
|
|
|
- /ncdu-/
|
|
|
|
- /.tar.gz/
|
2023-04-01 05:02:19 +03:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
invisible-island.net/ncurses: '*'
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
script: |
|
|
|
|
./configure $ARGS
|
|
|
|
make -j {{ hw.concurrency }} install
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix {{ prefix }}
|
|
|
|
|
|
|
|
test: |
|
|
|
|
ncdu -o test
|
|
|
|
cat test
|