memtester: Corrected recipe following review comments and guidelines

This is an import of memtester from OE classic,
commit ID: 5671855bfba71575e4919c4b5fc9c5dcb8052612

Fixes to recipe:
* Added patch header to Makefile.patch
* Corrected order of variables and added HOMEPAGE to recipe
* Removed the line, S = "${WORKDIR}/memtester-${PV}" as its the default
* Removed new-line at end of recipe

Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Joel A Fernandes
2011-10-26 00:09:39 +00:00
committed by Koen Kooi
parent c60bf558fa
commit 5272732892
2 changed files with 20 additions and 9 deletions
@@ -1,8 +1,18 @@
Index: memtester-4.0.5/Makefile From 9a950b14b9f7767d83e5faac2e1e8203c500e2c2 Mon Sep 17 00:00:00 2001
=================================================================== From: Rod Whitby <rod@whitby.id.au>
--- memtester-4.0.5.orig/Makefile 2005-03-14 06:02:30.000000000 -0800 Date: Tue, 25 Oct 2011 18:43:50 -0500
+++ memtester-4.0.5/Makefile 2006-07-08 23:53:42.000000000 -0700 Subject: [PATCH] memtester: Added patch to Makefile to change no-longer-supported 'head -1' syntax to 'head -n 1'.
@@ -24,8 +24,8 @@
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index a271bf5..6bccff3 100644
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,8 @@ install: all
auto-ccld.sh: \ auto-ccld.sh: \
conf-cc conf-ld warn-auto.sh conf-cc conf-ld warn-auto.sh
( cat warn-auto.sh; \ ( cat warn-auto.sh; \
@@ -13,3 +23,6 @@ Index: memtester-4.0.5/Makefile
) > auto-ccld.sh ) > auto-ccld.sh
compile: \ compile: \
--
1.7.0.4
@@ -1,5 +1,6 @@
SECTION = "console/utils"
DESCRIPTION = "Utility to test for faulty memory subsystem" DESCRIPTION = "Utility to test for faulty memory subsystem"
HOMEPAGE = "http://pyropus.ca/software/memtester/"
SECTION = "console/utils"
LICENSE = "GPLv2" LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
@@ -10,8 +11,6 @@ SRC_URI += "file://Makefile.patch"
SRC_URI[md5sum] = "e562451620cf5343016950462bc0dc38" SRC_URI[md5sum] = "e562451620cf5343016950462bc0dc38"
SRC_URI[sha256sum] = "ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6" SRC_URI[sha256sum] = "ac56f0b6d6d6e58bcf2a3fa7f2c9b29894f5177871f21115a1906c535106acf6"
S = "${WORKDIR}/memtester-${PV}"
do_compile () { do_compile () {
echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc
echo '${CC} ${LDFLAGS}' > conf-ld echo '${CC} ${LDFLAGS}' > conf-ld
@@ -24,4 +23,3 @@ do_install () {
install -m 0755 memtester ${D}${bindir}/ install -m 0755 memtester ${D}${bindir}/
install -m 0755 memtester.8 ${D}${mandir}/man8/ install -m 0755 memtester.8 ${D}${mandir}/man8/
} }