blob: 14aa713a8f25cdbc3063427a6ffc93845e9900fa (
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
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Lucas Ramage <ramage.lucas@openmailbox.org>
pkgname=efivar
pkgver=36
pkgrel=0
pkgdesc="Tools and library to manipulate EFI variables"
url="https://github.com/rhboot/efivar"
arch="x86 x86_64 armhf aarch64 ppc64le"
license="LGPL-2.1"
depends=""
depends_dev=""
makedepends="$depends_dev popt-dev linux-headers"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
source="https://github.com/rhboot/efivar/releases/download/$pkgver/efivar-$pkgver.tar.bz2
musl-bswap.patch"
builddir="$srcdir/efivar-$pkgver"
build() {
cd "$builddir"
libdir="/usr/lib" make
}
package() {
cd "$builddir"
libdir="/usr/lib" make DESTDIR="$pkgdir" install
}
check() {
LD_LIBRARY_PATH="$builddir"/src \
"$builddir"/src/efivar --help > /dev/null
}
sha512sums="951feabe2d238826fdd6e74e8f7a24f04d705f9ef925cfcfb852944d2d7a4f04e3a6c23f276c40e5564da42614558941dbe7aaf21efa6a722a616e4d165aba2d efivar-36.tar.bz2
84fd5baf91df91889cfcfed2bcf59f073dc754f6aba1944059203bbe99f4bbb6dc92addff9fae8f687a2c95f9438b0eb301dd0320728a8a2a6edd5e2b2b5ba94 musl-bswap.patch"
|