Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/vboot-utils: new aport

From: Emily Ingalls <emily_at_ingalls.rocks>
Date: Fri, 28 Jul 2017 12:02:43 -0400

https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master
Boot utilities for ChromeOS devices
---
 testing/vboot-utils/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/vboot-utils/APKBUILD
diff --git a/testing/vboot-utils/APKBUILD b/testing/vboot-utils/APKBUILD
new file mode 100644
index 0000000000..7d8e7849dc
--- /dev/null
+++ b/testing/vboot-utils/APKBUILD
_at_@ -0,0 +1,37 @@
+# Contributor: Emily Ingalls <emily_at_ingalls.rocks>
+# Maintainer: Emily Ingalls <emily_at_ingalls.rocks>
+pkgname=vboot-utils
+pkgver=r1787.8b7142525
+pkgrel=1
+pkgdesc="Boot utilities for ChromeOS devices"
+url="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/master"
+arch="all"
+license="custom"
+depends="xz util-linux openssl"
+makedepends="bash yaml-dev linux-headers util-linux-dev xz-dev openssl-dev"
+install=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+archive/8b71425257d251858410de71efcf389df8b200d2.tar.gz"
+builddir="$srcdir/"
+options="!check"
+
+prepare() {
+	cd "$builddir"
+	
+	# avoid build failures
+	sed -i 's/i386/i686/g' Makefile
+	sed -i 's/-Werror//g' Makefile
+}
+
+build() {
+	cd "$builddir"
+	make V=1
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir"/usr install
+	install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums="6c704b6f880e8d19fdcc7a62c8d17b678e8ee5e981935b3cdaae950873c01dfbabf87baaca8d23fa71ca5ab5bff3f2c76e2d5f32e77f85c89465eb95849c627e  8b71425257d251858410de71efcf389df8b200d2.tar.gz"
-- 
2.13.0
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Jul 28 2017 - 12:02:43 UTC