aboutsummaryrefslogtreecommitdiffstats
path: root/testing/efivar/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/efivar/APKBUILD')
-rw-r--r--testing/efivar/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/efivar/APKBUILD b/testing/efivar/APKBUILD
new file mode 100644
index 0000000000..b1436b9692
--- /dev/null
+++ b/testing/efivar/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=efivar
+pkgver=31
+pkgrel=0
+pkgdesc="Tools and library to manipulate EFI variables"
+url="https://github.com/rhboot/efivar"
+arch="all"
+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() {
+ "$builddir"/src/efivar --help > /dev/null
+}
+
+sha512sums="5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163 efivar-31.tar.bz2
+84fd5baf91df91889cfcfed2bcf59f073dc754f6aba1944059203bbe99f4bbb6dc92addff9fae8f687a2c95f9438b0eb301dd0320728a8a2a6edd5e2b2b5ba94 musl-bswap.patch
+d7c0ed2cbb4e3b93921ef5adad9667d2a2f18bc5da8d4dba71edb5b424c68c24e9d1c495d4dcccc1cd563cdfdc598308a74ae5b4d4ed78ff4391f4456554a18a musl-strndupa.patch"