commit eec668b
chld
·
2026-08-26 21:59:19 +0000 UTC
parent 29836c0
htop: ncurses dep
3 files changed,
+30,
-0
+1,
-0
1@@ -0,0 +1 @@
2+/ncurses
+6,
-0
1@@ -0,0 +1,6 @@
2+name: htop
3+description: cross-platform interactive process viewer
4+license: GPLV2
5+upstream: https://github.com/htop-dev/htop/releases/download/${VERSION}/htop-${VERSION}.tar.xz
6+version: 3.4.1
7+maintainer: discord (@kool_kids)
+23,
-0
1@@ -0,0 +1,23 @@
2+#!/bin/sh -ue
3+NAME=htop
4+VERSION=3.4.1
5+RELEASE=1
6+SOURCE="https://github.com/${NAME}-dev/${NAME}/releases/download/${VERSION}/htop-${VERSION}.tar.xz"
7+BUILD_STYLE=make
8+
9+build() {
10+ msg "configuring htop..."
11+ ./configure --prefix="$PREFIX" \
12+ --disable-unicode \
13+ --disable-libcap \
14+ --disable-netlib \
15+ CPPFLAGS="-I$PREFIX/include" \
16+ LDFLAGS="-L$PREFIX/lib -static" \
17+ LIBS="-lcursesw -lterminfo"
18+ msg "building htop..."
19+ make CC="${CC:-cc}" $MAKEFLAGS
20+ msg "installing htop..."
21+ make DESTDIR="${DESTDIR:-}" install
22+}
23+
24+. ${0%/*}/../../libsh/libdmake.sh