packages/memtester: Fix download URL for memtester_4.0.5.bb
authorStelios Koroneos <skoroneos@digital-opsis.com>
Thu, 22 Feb 2007 14:48:51 +0000 (14:48 +0000)
committerStelios Koroneos <skoroneos@digital-opsis.com>
Thu, 22 Feb 2007 14:48:51 +0000 (14:48 +0000)
Add memtester_4.0.6.bb

packages/memtester/memtester_4.0.5.bb
packages/memtester/memtester_4.0.6.bb [new file with mode: 0644]

index ec0fbf2..6a84471 100644 (file)
@@ -1,9 +1,9 @@
 SECTION = "console/utils"
 DESCRIPTION = "Utility to test for faulty memory subsystem"
 LICENSE = "GPLv2"
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "http://pyropus.ca/software/memtester/memtester-${PV}.tar.gz"
+SRC_URI = "http://pyropus.ca/software/memtester/old-versions/memtester-${PV}.tar.gz"
 SRC_URI += "file://Makefile.patch;patch=1"
 
 S = "${WORKDIR}/memtester-${PV}"
diff --git a/packages/memtester/memtester_4.0.6.bb b/packages/memtester/memtester_4.0.6.bb
new file mode 100644 (file)
index 0000000..1fb4541
--- /dev/null
@@ -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/
+}