efivar: update to 36.

This commit is contained in:
maxice8 2018-04-10 00:44:57 -03:00
parent d24d105170
commit dd63aceb32
1 changed files with 11 additions and 7 deletions

View File

@ -1,19 +1,22 @@
# Template file for 'efivar'
pkgname=efivar
version=34
version=36
revision=1
build_style=gnu-makefile
make_build_args="libdir=/usr/lib"
make_build_target="all test"
make_install_args="libdir=/usr/lib"
hostmakedepends="pkg-config"
short_desc="Tools to manipulate EFI variables"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://github.com/rhinstaller/efivar"
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
distfiles="https://github.com/rhboot/efivar/releases/download/${version}/efivar-${version}.tar.bz2"
checksum=1b7e34e728b4b4c294a10734e601212e4c31ce4cf409e27d1d630daa8d0f4325
checksum=94bfccc20889440978a85f08d5af4619040ee199001b62588d47d676f58c0d33
make_build_args="libdir=/usr/lib"
make_build_target="all test"
make_install_args="libdir=/usr/lib"
case "$XBPS_TARGET_MACHINE" in
armv*|mips*|aarch*) broken="unsupported arches for UEFI" ;;
esac
CFLAGS="-D_GNU_SOURCE"
@ -31,9 +34,10 @@ libefivar_package() {
vmove usr/lib/*.so.*
}
}
libefivar-devel_package() {
short_desc="Library to manipulate EFI variables - development files"
depends="${makedepends} libefivar>=${version}_${revision}"
depends="libefivar-${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig