aboutsummaryrefslogtreecommitdiffstats
path: root/main/pstree/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 13:19:33 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2016-08-17 14:36:04 +0200
commit42c8148e3e00961bd649f851c2b4308ae437cd0d (patch)
tree07ee0e3ea4705c42c30d6f15ae2a92caf4a98987 /main/pstree/APKBUILD
parent5a8bee3bee955285637485a4eb22786dd00a4b26 (diff)
downloadaports-42c8148e3e00961bd649f851c2b4308ae437cd0d.tar.bz2
aports-42c8148e3e00961bd649f851c2b4308ae437cd0d.tar.xz
main/pstree: move from testing/
Diffstat (limited to 'main/pstree/APKBUILD')
-rw-r--r--main/pstree/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/main/pstree/APKBUILD b/main/pstree/APKBUILD
new file mode 100644
index 0000000000..ad5a7cc9c0
--- /dev/null
+++ b/main/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"