New package: vboot-utils-44.7077
This commit is contained in:
parent
fe076462ee
commit
4740c9793f
2 changed files with 35 additions and 0 deletions
10
srcpkgs/vboot-utils/patches/tpm_lite_stub.patch
Normal file
10
srcpkgs/vboot-utils/patches/tpm_lite_stub.patch
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
--- ./firmware/stub/tpm_lite_stub.c.orig 2015-06-16 12:29:51.609619681 +0200
|
||||||
|
+++ ./firmware/stub/tpm_lite_stub.c 2015-06-16 12:30:01.216620121 +0200
|
||||||
|
@@ -14,6 +14,7 @@
|
||||||
|
#include "utility.h"
|
||||||
|
#include "vboot_api.h"
|
||||||
|
|
||||||
|
+#include <assert.h>
|
||||||
|
#include <errno.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <stdarg.h>
|
25
srcpkgs/vboot-utils/template
Normal file
25
srcpkgs/vboot-utils/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'vboot-utils'
|
||||||
|
pkgname=vboot-utils
|
||||||
|
version=44.7077
|
||||||
|
revision=1
|
||||||
|
create_wrksrc=yes
|
||||||
|
build_style=gnu-makefile
|
||||||
|
hostmakedepends="pkg-config"
|
||||||
|
makedepends="libressl-devel libuuid-devel"
|
||||||
|
short_desc="Verified boot kernel utilities"
|
||||||
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git"
|
||||||
|
distfiles="$homepage/+archive/refs/heads/release-R${version//./-}.B.tar.gz"
|
||||||
|
checksum=9c535ebd24d04a13c0a284a3e17fc4f51613448581c136f62b2aebd849059c6a
|
||||||
|
CFLAGS=-D_GNU_SOURCE
|
||||||
|
make_install_args="MINIMAL=1"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make CC="$CC" LD="$CC" AR="$AR" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" MINIMAL=1 ${makejobs} \
|
||||||
|
cgpt utils futil
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -r $DESTDIR/usr/lib/pkgconfig
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue