source: packages/utils/memtester/Makefile @ 21067

Last change on this file since 21067 was 21067, checked in by nico, 7 years ago

[packages] memtester: update to 4.1.3

File size: 1.1 KB
Line 
1#
2# Copyright (C) 2007-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=memtester
11PKG_VERSION:=4.1.3
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://pyropus.ca/software/memtester/old-versions/
16PKG_MD5SUM:=e562451620cf5343016950462bc0dc38
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/memtester
21  SECTION:=utils
22  CATEGORY:=Utilities
23  TITLE:=Userspace utility for testing the memory subsystem for faults
24  URL:=http://pyropus.ca/software/memtester/
25endef
26
27define Package/memtester/description
28 A userspace utility for testing the memory subsystem for faults.
29endef
30
31define Build/Configure
32        $(SED) 's,cc -O2,$(TARGET_CC) $(TARGET_CFLAGS),' $(PKG_BUILD_DIR)/conf-cc
33        $(SED) "s,cc,$(TARGET_CC)," $(PKG_BUILD_DIR)/conf-ld
34endef
35
36define Build/Compile
37        $(MAKE) -C $(PKG_BUILD_DIR) all
38endef
39
40define Package/memtester/install
41        $(INSTALL_DIR) $(1)/usr/sbin
42        $(INSTALL_BIN) $(PKG_BUILD_DIR)/memtester $(1)/usr/sbin/
43endef
44
45$(eval $(call BuildPackage,memtester))
Note: See TracBrowser for help on using the repository browser.