mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
memtester: update to 4.6.0.
This commit is contained in:
parent
748c4fb3b4
commit
2577eb40bb
1 changed files with 10 additions and 9 deletions
|
@ -1,22 +1,23 @@
|
||||||
# Template file for 'memtester'
|
# Template file for 'memtester'
|
||||||
pkgname=memtester
|
pkgname=memtester
|
||||||
version=4.5.1
|
version=4.6.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Userspace utility for testing the memory subsystem for faults"
|
short_desc="Userspace utility for testing the memory subsystem for faults"
|
||||||
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
maintainer="Érico Nogueira <ericonr@disroot.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-only"
|
||||||
homepage="http://pyropus.ca/software/memtester"
|
homepage="https://pyropus.ca./software/memtester/"
|
||||||
changelog="http://pyropus.ca/software/memtester/CHANGELOG"
|
changelog="https://pyropus.ca./software/memtester/CHANGELOG"
|
||||||
distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
|
distfiles="https://deb.debian.org/debian/pool/main/m/memtester/memtester_${version}.orig.tar.gz"
|
||||||
checksum=1c5fc2382576c084b314cfd334d127a66c20bd63892cac9f445bc1d8b4ca5a47
|
checksum=c9fe4eb7e80c8cef5202f9065c4c0682f5616647c0455e916a5700f98e3dbb2e
|
||||||
|
|
||||||
CFLAGS="-fcommon"
|
CFLAGS="-fcommon"
|
||||||
|
|
||||||
post_patch() {
|
post_patch() {
|
||||||
# first two won't change anything for native builds
|
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|-c|${CFLAGS} -c|" conf-cc
|
||||||
vsed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
|
vsed -i -e "s|^cc|$CC|" -e "s|-s|${LDFLAGS} -s|" conf-ld
|
||||||
|
fi
|
||||||
vsed -i -e "s|/usr/local|${DESTDIR}/usr|" \
|
vsed -i -e "s|/usr/local|${DESTDIR}/usr|" \
|
||||||
-e "s|man/man8|share/man/man8|" Makefile
|
-e "s|man/man8|share/man/man8|" Makefile
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue