summaryrefslogtreecommitdiff
path: root/user/efivar/APKBUILD
blob: 8076176e9d2cd52d5b67446f5f8e2b01ee3b8123 (plain) (blame)
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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=efivar
pkgver=31
pkgrel=0
pkgdesc="Tools and library to manipulate EFI variables"
url="https://github.com/rhboot/efivar"
arch="x86 x86_64 arm64 ia64"
license="LGPL-2.1"
depends=""
depends_dev="popt-dev"
makedepends="$depends_dev"
install=""
options="!check"  # "WARNING: You should probably not run tests /ever/.  This is not a joke."
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/rhboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.bz2
	0001-makeguids-Ensure-compatibility-with-other-libcs.patch
	musl-strndupa.patch
	"

build() {
	cd "$builddir"
	make prefix="/usr" libdir="/usr/lib"
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" prefix="/usr" libdir="/usr/lib" install
}

sha512sums="5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163  efivar-31.tar.bz2
8a47abad5d6d2ceffb5effdd177d3e678256961294ff66df1158084e3f45f0bcb07105a1c3df35b3a5c503742c4e59148df740c40fa3b7149b1f609f8b51ebd3  0001-makeguids-Ensure-compatibility-with-other-libcs.patch
4dd340861cac6d6617b2547db14aa85140f1d2cf8d7e4b709b4b01671170d4ebc66439d91ade926ad5eb67300696226f1382731ff2aaa728511abef6e83f0cf6  musl-strndupa.patch"