summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelle Raaijmakers <jelle@gmta.nl>2021-09-30 15:18:40 +0200
committerLinus Groh <mail@linusgroh.de>2021-10-02 21:07:47 +0100
commit06f84d927e721940579333ea31c1ffe5b3c8bb11 (patch)
treeec2451450406883efde1595e7a54db31449d7115
parent718b205a9e58b80d8507963214e4ec878921592d (diff)
downloadserenity-06f84d927e721940579333ea31c1ffe5b3c8bb11.zip
Ports: Add Ncdu
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/ncdu/package.sh9
2 files changed, 10 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 93135eddb7..b16db59d8c 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -105,6 +105,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`mysthous`](mysthous/) | Hi-Res Adventure #1: Mystery House | 1.0 | https://www.scummvm.org/games/#games-hires1 |
| [`nano`](nano/) | GNU nano | 5.8 | https://www.nano-editor.org/ |
| [`nasm`](nasm/) | Netwide Assembler (NASM) | 2.15.05 | https://www.nasm.us/ |
+| [`ncdu`](ncdu/) | Ncdu | 1.16 | https://dev.yorhel.nl/ncdu |
| [`ncurses`](ncurses/) | ncurses | 6.2 | https://invisible-island.net/ncurses/announce.html |
| [`neofetch`](neofetch/) | neofetch | 7.1.0 | https://github.com/dylanaraps/neofetch |
| [`nesalizer`](nesalizer/) | Nesalizer | | https://github.com/SerenityOS/nesalizer |
diff --git a/Ports/ncdu/package.sh b/Ports/ncdu/package.sh
new file mode 100755
index 0000000000..03019a20fb
--- /dev/null
+++ b/Ports/ncdu/package.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=ncdu
+useconfigure="true"
+version="1.16"
+files="https://dev.yorhel.nl/download/ncdu-${version}.tar.gz ncdu-${version}.tar.gz 2b915752a183fae014b5e5b1f0a135b4b408de7488c716e325217c2513980fd4"
+auth_type=sha256
+depends="ncurses"
+
+export CFLAGS="-I${SERENITY_INSTALL_ROOT}/usr/local/include/ncurses"