aboutsummaryrefslogtreecommitdiffstats
path: root/testing/efivar
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2017-10-11 11:48:32 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2017-10-11 11:48:32 +0200
commit20dd767b4607bc0a5b0254c866147f9b4634a052 (patch)
tree7ea6499af5b5f15111680da52df0ec6afe4c2d3c /testing/efivar
parente8b86a6dbbfc5c2a8ad667de6285c7c7b3ffbb9d (diff)
downloadaports-20dd767b4607bc0a5b0254c866147f9b4634a052.tar.bz2
aports-20dd767b4607bc0a5b0254c866147f9b4634a052.tar.xz
testing/efivar: fix test and set correct arch
Diffstat (limited to 'testing/efivar')
-rw-r--r--testing/efivar/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/testing/efivar/APKBUILD b/testing/efivar/APKBUILD
index b1436b9692..10c982998a 100644
--- a/testing/efivar/APKBUILD
+++ b/testing/efivar/APKBUILD
@@ -5,7 +5,7 @@ pkgver=31
pkgrel=0
pkgdesc="Tools and library to manipulate EFI variables"
url="https://github.com/rhboot/efivar"
-arch="all"
+arch="x86_64 armhf aarch64"
license="LGPL-2.1"
depends=""
depends_dev=""
@@ -28,7 +28,10 @@ package() {
}
check() {
- "$builddir"/src/efivar --help > /dev/null
+ ln -s "$builddir"/src/libefivar.so \
+ "$builddir"/src/libefivar.so.1
+ LD_LIBRARY_PATH="$builddir"/src \
+ "$builddir"/src/efivar --help > /dev/null
}
sha512sums="5055f690fd99cf59895dcf3d11103494d917d4923567626f0bee816ea5e4dd56cec23627ede5f21bdc57b7306522471ad19cc8ab22ae94591dbd1925c084f163 efivar-31.tar.bz2