From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/memtester/files/Makefile.patch | 15 +++++++++++++++ recipes/memtester/memtester_4.0.5.bb | 22 ++++++++++++++++++++++ recipes/memtester/memtester_4.0.6.bb | 22 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 recipes/memtester/files/Makefile.patch create mode 100644 recipes/memtester/memtester_4.0.5.bb create mode 100644 recipes/memtester/memtester_4.0.6.bb (limited to 'recipes/memtester') diff --git a/recipes/memtester/files/Makefile.patch b/recipes/memtester/files/Makefile.patch new file mode 100644 index 0000000000..57a04642a6 --- /dev/null +++ b/recipes/memtester/files/Makefile.patch @@ -0,0 +1,15 @@ +Index: memtester-4.0.5/Makefile +=================================================================== +--- memtester-4.0.5.orig/Makefile 2005-03-14 06:02:30.000000000 -0800 ++++ memtester-4.0.5/Makefile 2006-07-08 23:53:42.000000000 -0700 +@@ -24,8 +24,8 @@ + auto-ccld.sh: \ + conf-cc conf-ld warn-auto.sh + ( cat warn-auto.sh; \ +- echo CC=\'`head -1 conf-cc`\'; \ +- echo LD=\'`head -1 conf-ld`\' \ ++ echo CC=\'`head -n 1 conf-cc`\'; \ ++ echo LD=\'`head -n 1 conf-ld`\' \ + ) > auto-ccld.sh + + compile: \ diff --git a/recipes/memtester/memtester_4.0.5.bb b/recipes/memtester/memtester_4.0.5.bb new file mode 100644 index 0000000000..6a84471cee --- /dev/null +++ b/recipes/memtester/memtester_4.0.5.bb @@ -0,0 +1,22 @@ +SECTION = "console/utils" +DESCRIPTION = "Utility to test for faulty memory subsystem" +LICENSE = "GPLv2" +PR = "r2" + +SRC_URI = "http://pyropus.ca/software/memtester/old-versions/memtester-${PV}.tar.gz" +SRC_URI += "file://Makefile.patch;patch=1" + +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/ +} diff --git a/recipes/memtester/memtester_4.0.6.bb b/recipes/memtester/memtester_4.0.6.bb new file mode 100644 index 0000000000..1fb4541eb6 --- /dev/null +++ b/recipes/memtester/memtester_4.0.6.bb @@ -0,0 +1,22 @@ +SECTION = "console/utils" +DESCRIPTION = "Utility to test for faulty memory subsystem" +LICENSE = "GPLv2" +PR = "r0" + +SRC_URI = "http://pyropus.ca/software/memtester/old-versions/memtester-${PV}.tar.gz" +SRC_URI += "file://Makefile.patch;patch=1" + +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/ +} -- cgit v1.2.3