memtester: update to 4.6.0.
This commit is contained in:
parent
748c4fb3b4
commit
2577eb40bb
|
@ -1,22 +1,23 @@
|
|||
# Template file for 'memtester'
|
||||
pkgname=memtester
|
||||
version=4.5.1
|
||||
version=4.6.0
|
||||
revision=1
|
||||
build_style=gnu-makefile
|
||||
short_desc="Userspace utility for testing the memory subsystem for faults"
|
||||
maintainer="Érico Nogueira <ericonr@disroot.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=1c5fc2382576c084b314cfd334d127a66c20bd63892cac9f445bc1d8b4ca5a47
|
||||
license="GPL-2.0-only"
|
||||
homepage="https://pyropus.ca./software/memtester/"
|
||||
changelog="https://pyropus.ca./software/memtester/CHANGELOG"
|
||||
distfiles="https://deb.debian.org/debian/pool/main/m/memtester/memtester_${version}.orig.tar.gz"
|
||||
checksum=c9fe4eb7e80c8cef5202f9065c4c0682f5616647c0455e916a5700f98e3dbb2e
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
post_patch() {
|
||||
# first two won't change anything for native builds
|
||||
vsed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
|
||||
vsed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
vsed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
|
||||
vsed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
|
||||
fi
|
||||
vsed -i -e "s|/usr/local|${DESTDIR}/usr|" \
|
||||
-e "s|man/man8|share/man/man8|" Makefile
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue