pstree: added recipe
authorDvorkin Dmitry <dvorkin@tibbo.com>
Mon, 15 Nov 2010 07:17:37 +0000 (07:17 +0000)
committerMichael Smith <msmith@cbnco.com>
Mon, 15 Nov 2010 18:25:12 +0000 (13:25 -0500)
Signed-off-by: Dvorkin Dmitry <dvorkin@tibbo.com>
Acked-by: Michael Smith <msmith@cbnco.com>
recipes/pstree/pstree_2.33.bb [new file with mode: 0644]

diff --git a/recipes/pstree/pstree_2.33.bb b/recipes/pstree/pstree_2.33.bb
new file mode 100644 (file)
index 0000000..4695323
--- /dev/null
@@ -0,0 +1,24 @@
+AUTHOR = "Dvorkin Dmitry dvorkin@tibbo.com"
+SECTION = "base"
+DESCRIPTION = "pstree cli tool to nicely show processes tree"
+LICENSE = "GPL"
+DEPENDS = "libnl"
+PR = "r0"
+
+S = "${WORKDIR}"
+
+do_compile() {
+  ${CC} -O ${CFLAGS} ${LDFLAGS} -o pstree pstree.c
+}
+
+do_install() {
+  install -d ${D}/bin/
+  install -m 0755 pstree ${D}/bin/
+}
+
+SRC_URI = "\
+  ftp://ftp.thp.uni-duisburg.de/pub/source/${PN}-${PV}.tar.gz \
+"
+
+SRC_URI[md5sum] = "b0a85caacd85f78bd83700afa86ec2e9"
+SRC_URI[sha256sum] = "0f06116208cf15932cf99785d001c053e523e0aed474b936858f1b7f61a6c990"