2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-10-21 14:38:31 +02:00
|
|
|
#
|
|
|
|
# memstat
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2008-10-21 14:38:31 +02:00
|
|
|
|
2015-04-19 19:13:54 +02:00
|
|
|
MEMSTAT_VERSION = 1.0
|
|
|
|
MEMSTAT_SITE = http://downloads.sourceforge.net/project/memstattool
|
2010-02-18 20:48:24 +01:00
|
|
|
MEMSTAT_SOURCE = memstat_$(MEMSTAT_VERSION).tar.gz
|
2014-05-06 17:42:37 +02:00
|
|
|
MEMSTAT_LICENSE = GPL
|
|
|
|
MEMSTAT_LICENSE_FILES = debian/copyright
|
2010-02-18 20:48:24 +01:00
|
|
|
|
|
|
|
define MEMSTAT_BUILD_CMDS
|
2016-10-17 18:06:28 +02:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" CFLAGS="$(TARGET_CFLAGS)" \
|
2010-02-18 20:48:24 +01:00
|
|
|
-C $(@D) memstat
|
|
|
|
endef
|
|
|
|
|
|
|
|
define MEMSTAT_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D $(@D)/memstat.conf -m 0644 \
|
|
|
|
$(TARGET_DIR)/etc/memstat.conf
|
|
|
|
$(INSTALL) -D $(@D)/memstat $(TARGET_DIR)/usr/bin/memstat
|
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(generic-package))
|