25 lines
628 B
Bash
25 lines
628 B
Bash
|
# Template file for 'memtester'
|
||
|
pkgname=memtester
|
||
|
version=4.3.0
|
||
|
revision=1
|
||
|
short_desc="Userspace utility for testing the memory subsystem for faults."
|
||
|
maintainer="Michael Gehring <mg@ebfe.org>"
|
||
|
license="GPL-"
|
||
|
homepage="http://pyropus.ca/software/memtester"
|
||
|
distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
|
||
|
checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
|
||
|
|
||
|
do_configure() {
|
||
|
sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
|
||
|
sed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
|
||
|
}
|
||
|
|
||
|
do_build() {
|
||
|
make
|
||
|
}
|
||
|
|
||
|
do_install() {
|
||
|
vbin memtester
|
||
|
vman memtester.8
|
||
|
}
|