mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
40 lines
1.3 KiB
Plaintext
40 lines
1.3 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
|
|
# Maintainer: Lucas Ramage <ramage.lucas@openmailbox.org>
|
|
pkgname=efivar
|
|
pkgver=35
|
|
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
|
|
musl-strndupa.patch"
|
|
builddir="$srcdir/efivar-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
libdir="/usr/lib" make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
libdir="/usr/lib" make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
check() {
|
|
ln -s "$builddir"/src/libefivar.so \
|
|
"$builddir"/src/libefivar.so.1
|
|
LD_LIBRARY_PATH="$builddir"/src \
|
|
"$builddir"/src/efivar --help > /dev/null
|
|
}
|
|
|
|
sha512sums="c7ba60b2112053f088ad0b74aaa834860601b7fe17118c35b012050176f5205d948fba9c4b6de35991249f702e3bc24832539e2eb3c235c4188e1eabc78965ee efivar-35.tar.bz2
|
|
84fd5baf91df91889cfcfed2bcf59f073dc754f6aba1944059203bbe99f4bbb6dc92addff9fae8f687a2c95f9438b0eb301dd0320728a8a2a6edd5e2b2b5ba94 musl-bswap.patch
|
|
d7c0ed2cbb4e3b93921ef5adad9667d2a2f18bc5da8d4dba71edb5b424c68c24e9d1c495d4dcccc1cd563cdfdc598308a74ae5b4d4ed78ff4391f4456554a18a musl-strndupa.patch"
|