xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-benchmark/memtester/memtester_4.5.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "Utility to test for faulty memory subsystem"
2HOMEPAGE = "http://pyropus.ca/software/memtester/"
3SECTION = "console/utils"
4LICENSE = "GPL-2.0-only"
5
6LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
7
8SRC_URI = "http://pyropus.ca/software/memtester/old-versions/${BP}.tar.gz \
9           file://Makefile.patch \
10           "
11SRC_URI[md5sum] = "1bc22c01e987d6a67fac39dc5656a4d3"
12SRC_URI[sha256sum] = "1c5fc2382576c084b314cfd334d127a66c20bd63892cac9f445bc1d8b4ca5a47"
13
14do_compile () {
15    echo '${CC} ${CFLAGS} -DPOSIX -c' > conf-cc
16    echo '${CC} ${LDFLAGS}' > conf-ld
17    oe_runmake
18}
19
20do_install () {
21    install -d ${D}${bindir}
22    install -d ${D}${mandir}/man8
23    install -m 0755 memtester ${D}${bindir}/
24    install -m 0755 memtester.8 ${D}${mandir}/man8/
25}
26