aboutsummaryrefslogtreecommitdiffstats
path: root/main/pstree/APKBUILD
blob: ad5a7cc9c051008745eaa0d8f82f3d60cda8a91c (plain) (blame)
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
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=pstree
pkgver=2.39
pkgrel=0
pkgdesc="A small tool to list processes as a tree"
url="http://www.thp.uni-duisburg.de/pstree/"
arch="all"
license="GPL"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="ftp://ftp.thp.uni-duisburg.de/pub/source/$pkgname-$pkgver.tar.gz"

build() {
	${CC:-gcc} ${CFLAGS} -o "$srcdir"/$pkgname \
		"$srcdir"/$pkgname.c || return 1
}

package() {
	install -Dm755 "$srcdir"/$pkgname \
		"$pkgdir"/usr/bin/$pkgname || return 1
	install -Dm644 "$srcdir"/$pkgname.1 \
		"$pkgdir"/usr/share/man/man1/$pkgname.1 || return 1
}

md5sums="cd867674fcdd3ded523fe47d16edd334  pstree-2.39.tar.gz"
sha256sums="7c9bc3b43ee6f93a9bc054eeff1e79d30a01cac13df810e2953e3fc24ad8479f  pstree-2.39.tar.gz"
sha512sums="31ec81b4adb563068a3006312e1e42b026d41107c7756c54f8b38d143b32426fc702602c7eb925a55c62be5cb3ef7d562e6ba032ec7a0788d0c45f5d5b5b0662  pstree-2.39.tar.gz"