diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-14 12:01:24 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-02-14 12:02:17 +0100 |
commit | b6981fc1521a3988641cce8e277b52a378557e44 (patch) | |
tree | 6c0c87ad600bc77e2109c64d6d59598395123d38 /testing/pstree | |
parent | 02da67c493edaddbd18ae62106a4d182ee825f63 (diff) | |
download | aports-b6981fc1521a3988641cce8e277b52a378557e44.tar.bz2 aports-b6981fc1521a3988641cce8e277b52a378557e44.tar.xz |
testing/pstree: new aport
A tiny alternative to the busybox pstree command with a slightly
different output format.
Diffstat (limited to 'testing/pstree')
-rw-r--r-- | testing/pstree/APKBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/pstree/APKBUILD b/testing/pstree/APKBUILD new file mode 100644 index 0000000000..ad5a7cc9c0 --- /dev/null +++ b/testing/pstree/APKBUILD @@ -0,0 +1,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" |