2021-01-13 09:00:21 +01:00
|
|
|
# $NetBSD: Makefile,v 1.11 2021/01/13 08:00:21 wiz Exp $
|
2003-07-03 12:21:31 +02:00
|
|
|
|
|
|
|
DISTNAME= cpuid-3.3
|
2021-01-13 09:00:21 +01:00
|
|
|
PKGREVISION= 1
|
2003-07-03 12:21:31 +02:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= http://www.ka9q.net/code/cpuid/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2019-06-24 12:59:40 +02:00
|
|
|
HOMEPAGE= https://directory.fsf.org/project/cpuid/
|
2003-07-03 12:21:31 +02:00
|
|
|
COMMENT= CPU identification feature
|
|
|
|
|
|
|
|
ONLY_FOR_PLATFORM= *-*-i386
|
2007-05-09 13:57:27 +02:00
|
|
|
ONLY_FOR_PLATFORM+= *-*-x86_64
|
2003-07-03 12:21:31 +02:00
|
|
|
|
2005-06-17 05:50:19 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
|
2003-07-03 12:21:31 +02:00
|
|
|
do-build:
|
2021-01-13 09:00:21 +01:00
|
|
|
cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} cpuid.c -o cpuid
|
2003-07-03 12:21:31 +02:00
|
|
|
|
|
|
|
do-install:
|
2010-01-27 19:21:56 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${DESTDIR}${PREFIX}/bin
|
2003-07-03 12:21:31 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|