aboutsummaryrefslogtreecommitdiffstats
path: root/main/htop/APKBUILD
blob: 0f9347d090adbd804922dd36ee9d7b4b32809516 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=htop
pkgver=2.0.1
pkgrel=0
pkgdesc="An interactive process viewer"
url="http://hisham.hm/htop/"
arch="all"
license="GPL2"
depends=""
makedepends="ncurses-dev"
subpackages="$pkgname-doc"
source="$url/releases/$pkgver/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-cgroups \
		--enable-taskstats \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="f75fe92b4defaa80d99109830f34b5e2  htop-2.0.1.tar.gz"
sha256sums="f410626dfaf6b70fdf73cd7bb33cae768869707028d847fed94a978e974f5666  htop-2.0.1.tar.gz"
sha512sums="57991a55b69028c01549b067ec749099466df5b08a0ed9a65dd779e6d2c8ee0a5d9c330bb6c727b04a349146ad441b7115718e433d1f8232f74b28903fb351ff  htop-2.0.1.tar.gz"