aboutsummaryrefslogtreecommitdiff
path: root/package/latencytop/latencytop.mk
blob: 7b96c2b1e6e38f3c93738a114c502565d747cb28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# latencytop
#
################################################################################

LATENCYTOP_VERSION = 0.5
LATENCYTOP_SITE = http://www.latencytop.org/download/
LATENCYTOP_DEPENDENCIES = libglib2 ncurses
LATENCYTOP_LICENSE = GPLv2
LATENCYTOP_LICENSE_FILES = latencytop.c

# 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 $(generic-package))