- fix portability issue with MAP_LOCKED flag. Thanks: Scott Haneda. - remove debugging output accidentally left in v.4.1.0. - cleanups - memtester.h was missing from the 4.1.0 tarball; release update to fix that. Thanks: Owen Leonard. - added the ability to test a specific physical region of memory (by mmap'ing /dev/mem) with the new -p option, which takes a hex starting address as a value. This is mostly of use to developers trying to verify memory or I/O mapped devices (on an embedded system, for instance). Thanks: Allon Stern. - re-add the ability to set a suffix on the memory to allocate: "3G", "128K", etc, mostly for use with the above new feature, where the "memory" to be tested is less than a megabyte, but also useful for users wanting to test many gigabytes; you no longer have to do the conversion-to-megs in your head. - documentation updates and clarifications.
30 lines
869 B
Makefile
30 lines
869 B
Makefile
# $NetBSD: Makefile,v 1.18 2009/08/03 15:51:40 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= memtester-4.1.2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${HOMEPAGE}old-versions/
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= http://pyropus.ca/software/memtester/
|
|
COMMENT= Utility for testing the memory subsystem for faults
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
NOT_FOR_PLATFORM= Interix-*-* # no m[un]lock(2), so not useful anyway
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
DJB_RESTRICTED= NO
|
|
DJB_MAKE_TARGETS= NO
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 share/doc/memtester
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && \
|
|
${INSTALL_PROGRAM} memtester ${DESTDIR}${PREFIX}/bin; \
|
|
${INSTALL_MAN} memtester.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
|
|
${INSTALL_DATA} README.tests ${DESTDIR}${PREFIX}/share/doc/memtester
|
|
|
|
.include "../../mk/djbware.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|