blob: 797d603532c92d4fd1a6aed15becd3960676bcb6 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=vboot-utils
pkgver=6310032
pkgrel=0
pkgdesc="Chromium OS vboot utilities"
url="https://github.com/coreboot/vboot"
arch="all !ppc64le !s390x"
license="custom:chromiumos"
makedepends="yaml-dev xz-dev fts-dev openssl-dev util-linux-dev bash linux-headers"
subpackages="cgpt $pkgname-doc"
source="http://cdn-fastly.deb.debian.org/debian/pool/main/v/vboot-utils/vboot-utils_0~R63-10032.B.orig.tar.gz
0001-Remove-static-futility.patch"
builddir="$srcdir"
prepare() {
sed -i 's/-Werror//g' Makefile
}
build() {
cd "$builddir"
case "$CARCH" in
arm*|aarch64) ARCH=arm make V=1 ;;
esac
make V=1
}
check() {
cd "$builddir"
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir"/usr install
mkdir -p "$pkgdir"/usr/share/doc
cp LICENSE "$pkgdir"/usr/share/doc
}
cgpt() {
pkgdesc="ChromeOS GPT tool"
mkdir -p "$subpkgdir"/usr/sbin
mv "$pkgdir"/usr/bin/cgpt "$subpkgdir"/usr/sbin/
}
sha512sums="48c0cf858f74cbb0020212ac619ed93ac011530e4f25518e05301f710bb78eba532ee901e79a04d6808122ef589fdf4c6a0f53656350d2f9bf717c588fc795fc vboot-utils_0~R63-10032.B.orig.tar.gz
baaa5c262352d76542cd1012fa66ce75a1251430181cf0063316a3a632dc248539a619ebd4d5da546281170dd944f256682502399cc6b367057c2167a486bebf 0001-Remove-static-futility.patch"
|