mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
memtester: adopt package, fix license & template
This commit is contained in:
parent
d1a545cab8
commit
90ea8b1a3a
1 changed files with 9 additions and 14 deletions
|
@ -1,24 +1,19 @@
|
||||||
# Template file for 'memtester'
|
# Template file for 'memtester'
|
||||||
pkgname=memtester
|
pkgname=memtester
|
||||||
version=4.3.0
|
version=4.3.0
|
||||||
revision=1
|
revision=2
|
||||||
short_desc="Userspace utility for testing the memory subsystem for faults."
|
build_style=gnu-makefile
|
||||||
maintainer="Orphaned <orphan@voidlinux.eu>"
|
short_desc="Userspace utility for testing the memory subsystem for faults"
|
||||||
license="GPL-"
|
maintainer="cr6git <quark6@protonmail.com>"
|
||||||
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://pyropus.ca/software/memtester"
|
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"
|
distfiles="http://pyropus.ca/software/memtester/old-versions/memtester-${version}.tar.gz"
|
||||||
checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
|
checksum=f9dfe2fd737c38fad6535bbab327da9a21f7ce4ea6f18c7b3339adef6bf5fd88
|
||||||
|
|
||||||
do_configure() {
|
pre_build() {
|
||||||
sed -i -e "s|^cc|$CC|" -e "s|-c|${CFLAGS} -c|" conf-cc
|
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|^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
|
||||||
do_build() {
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
vbin memtester
|
|
||||||
vman memtester.8
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue