summaryrefslogtreecommitdiffstats
path: root/package/latencytop/latencytop.mk
diff options
context:
space:
mode:
authorQais Yousef <Qais.Yousef@imgtec.com>2012-04-18 01:06:00 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-04-24 23:26:56 +0200
commitcd2f78b1c5af76cfc14ad2227d6627b24367fb50 (patch)
tree73c0a1031308a99af35b0b784ced7859824a0138 /package/latencytop/latencytop.mk
parent94c297c4488ced4f580dd036a42f6718f072e57a (diff)
downloadbuildroot-novena-cd2f78b1c5af76cfc14ad2227d6627b24367fb50.tar.gz
buildroot-novena-cd2f78b1c5af76cfc14ad2227d6627b24367fb50.zip
New Package: latencytop
[Peter: fix Config.in location] Signed-off-by: Qais Yousef <qais.yousef@imgtec.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/latencytop/latencytop.mk')
-rw-r--r--package/latencytop/latencytop.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/latencytop/latencytop.mk b/package/latencytop/latencytop.mk
new file mode 100644
index 000000000..73d5ba219
--- /dev/null
+++ b/package/latencytop/latencytop.mk
@@ -0,0 +1,21 @@
+#############################################################
+#
+# latencytop
+#
+#############################################################
+
+LATENCYTOP_VERSION = 0.5
+LATENCYTOP_SITE = http://www.latencytop.org/download/
+LATENCYTOP_DEPENDENCIES = libglib2 ncurses
+
+# NOTE: GTK is heavy weight, we intentionally build the text (ncurses)
+# version only
+define LATENCYTOP_BUILD_CMDS
+ $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) HAS_GTK_GUI=
+endef
+
+define LATENCYTOP_INSTALL_TARGET_CMDS
+ $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR) HAS_GTK_GUI=
+endef
+
+$(eval $(call GENTARGETS))