void-packages/srcpkgs/fwupd-efi/template
2022-02-13 15:32:10 -03:00

22 lines
841 B
Bash

# Template file for 'fwupd-efi'
pkgname=fwupd-efi
version=1.2
revision=1
archs="x86_64* i686* arm* aarch64*"
build_style=meson
build_helper="gir"
configure_args="-Defi-includedir=${XBPS_CROSS_BASE}/usr/include/efi
-Defi-ldsdir=${XBPS_CROSS_BASE}/usr/lib -Defi-ld=${XBPS_CROSS_BASE}/bin/ld
-Defi-libdir=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="efivar"
makedepends="libefivar-devel gnu-efi-libs"
short_desc="EFI Application used by uefi-capsule plugin in fwupd"
maintainer="dkwo <nicolopiazzalunga@gmail.com>"
license="LGPL-2.1-or-later"
homepage="https://github.com/fwupd/fwupd-efi"
distfiles="https://github.com/fwupd/fwupd-efi/archive/refs/tags/${version}.tar.gz"
checksum=568fa4a9eb884821661d47d0c04ad5681ffe26346a1f8186a068efe56854b77b
if [ "$CROSS_BUILD" ]; then
configure_args+=" -Defi-cc=/usr/bin/${XBPS_CROSS_TRIPLET}-gcc"
fi