20 lines
735 B
Bash
20 lines
735 B
Bash
# Template file for 'memtester'
|
|
pkgname=memtester
|
|
version=4.3.0
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
short_desc="Userspace utility for testing the memory subsystem for faults"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="http://pyropus.ca/software/memtester"
|
|
changelog="http://pyropus.ca/software/memtester/CHANGELOG"
|
|
distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
|
|
checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
|
|
|
|
pre_build() {
|
|
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
|
|
sed -i -e "s|/usr/local|${DESTDIR}/usr|" \
|
|
-e "s|man/man8|share/man/man8|" Makefile
|
|
}
|