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

MEMTESTER_VERSION = 4.3.0
MEMTESTER_SITE = http://pyropus.ca/software/memtester/old-versions
MEMTESTER_LICENSE = GPLv2
MEMTESTER_LICENSE_FILES = COPYING

MEMTESTER_TARGET_INSTALL_OPTS = INSTALLPATH=$(TARGET_DIR)/usr

define MEMTESTER_BUILD_CMDS
	$(SED) "s,^cc,$(TARGET_CC)," $(@D)/conf-*
	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef

define MEMTESTER_INSTALL_TARGET_CMDS
	$(MAKE) $(MEMTESTER_TARGET_INSTALL_OPTS) -C $(@D) install
endef

$(eval $(generic-package))