memtester: add 4.1.3
authorKoen Kooi <koen@openembedded.org>
Fri, 30 Apr 2010 08:57:33 +0000 (10:57 +0200)
committerKoen Kooi <koen@openembedded.org>
Fri, 30 Apr 2010 08:58:20 +0000 (10:58 +0200)
recipes/memtester/memtester_4.1.3.bb [new file with mode: 0644]

diff --git a/recipes/memtester/memtester_4.1.3.bb b/recipes/memtester/memtester_4.1.3.bb
new file mode 100644 (file)
index 0000000..846bf45
--- /dev/null
@@ -0,0 +1,25 @@
+SECTION = "console/utils"
+DESCRIPTION = "Utility to test for faulty memory subsystem"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://pyropus.ca/software/memtester/old-versions/memtester-${PV}.tar.gz"
+SRC_URI += "file://Makefile.patch;patch=1"
+
+SRC_URI[md5sum] = "e562451620cf5343016950462bc0dc38"
+SRC_URI[sha256sum] = "ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6"
+
+S = "${WORKDIR}/memtester-${PV}"
+
+do_compile () {
+       echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc
+       echo '${CC} ${LDFLAGS}' > conf-ld
+       oe_runmake
+}
+
+do_install () {
+       install -d ${D}${bindir}
+       install -d ${D}${mandir}/man8
+       install -m 0755 memtester ${D}${bindir}/
+       install -m 0755 memtester.8 ${D}${mandir}/man8/
+}
+