From b8aab955c504ac46836d487cfca2a9181dd5ff00 Mon Sep 17 00:00:00 2001 From: psykose Date: Tue, 3 May 2022 18:33:00 +0000 Subject: [PATCH] htop-full: new ptrcport --- htop-full/APKBUILD | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 htop-full/APKBUILD diff --git a/htop-full/APKBUILD b/htop-full/APKBUILD new file mode 100644 index 0000000..344da34 --- /dev/null +++ b/htop-full/APKBUILD @@ -0,0 +1,51 @@ +# Maintainer: psykose +pkgname=htop-full +pkgver=3.2.0 +pkgrel=0 +pkgdesc="Interactive process viewer" +url="https://htop.dev/" +arch="all" +license="GPL-2.0-or-later" +makedepends=" + autoconf + automake + hwloc-dev + libcap-dev + libnl3-dev + linux-headers + lm-sensors-dev + ncurses-dev + python3 + " +subpackages="$pkgname-doc" +options="!check" # no upstream/available test-suite +source="$pkgname-$pkgver.tar.gz::https://github.com/htop-dev/htop/archive/$pkgver.tar.gz" +builddir="$srcdir/htop-$pkgver" + +prepare() { + default_prepare + NOCONFIGURE=1 ./autogen.sh +} + +build() { + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + --enable-cgroup \ + --enable-delayacct \ + --enable-taskstats \ + --enable-unicode + make +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums=" +174eaa7333fa60e40f67148560c53125e7aaf46a48e7f3ecfa2daa68553c94b3d076d03320afd479dcee07e739c0ff286a81b67cbc994782c33e798d3ed4605c htop-full-3.2.0.tar.gz +"