blob: 3b3eb49f7e3d0c083a4a92856e0c1917a3cf4f2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# $NetBSD: Makefile,v 1.8 2010/11/13 21:09:04 shattered Exp $
DISTNAME= cpuid-3.3
CATEGORIES= sysutils
MASTER_SITES= http://www.ka9q.net/code/cpuid/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://directory.fsf.org/project/cpuid/
COMMENT= CPU identification feature
PKG_DESTDIR_SUPPORT= user-destdir
ONLY_FOR_PLATFORM= *-*-i386
ONLY_FOR_PLATFORM+= *-*-x86_64
INSTALLATION_DIRS= bin
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} cpuid.c -o cpuid
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
|