30ceb1d5cd
No upstream change summary, but the old version no longer worked with modern coreboot. Distfile created from a full clone of the coreboot tree with below script; #!/bin/sh cbver=`git describe` cbobj=`git ls-tree origin/master util/nvramtool|awk '{print $3}'|cut -c 1-7` distname=nvramtool-"$cbver"-"$cbobj" git archive -o /tmp/"$distname".tar.gz --prefix="$distname"/ "$cbobj"
36 lines
983 B
Makefile
36 lines
983 B
Makefile
# $NetBSD: Makefile,v 1.5 2013/12/09 18:40:07 jakllsch Exp $
|
|
#
|
|
|
|
DISTNAME= nvramtool-4.0-5009-gf87c20a-6af86f2
|
|
PKGNAME= nvramtool-0pre20131209
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL:=nvramtool/}
|
|
|
|
MAINTAINER= jakllsch@kollasch.net
|
|
HOMEPAGE= http://www.coreboot.org/Nvramtool
|
|
COMMENT= Coreboot CMOS NVRAM manipulation utility
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= gmake
|
|
USE_TOOLS+= date
|
|
|
|
USE_LANGUAGES+= c
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
ONLY_FOR_PLATFORM= #Darwin-*-i386 Darwin*-x86_64 # would need DirectIO
|
|
ONLY_FOR_PLATFORM+= FreeBSD-*-i386 FreeBSD-*-x86_64
|
|
ONLY_FOR_PLATFORM+= Linux-*-i386 Linux-*-x86_64
|
|
ONLY_FOR_PLATFORM+= NetBSD-*-i386 NetBSD-*-x86_64
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
BUILD_TARGET= nvramtool
|
|
|
|
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/nvramtool ${DESTDIR}${PREFIX}/sbin/nvramtool
|
|
${INSTALL_MAN} ${WRKSRC}/cli/nvramtool.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/nvramtool.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|