31 lines
978 B
TOML
31 lines
978 B
TOML
[build]
|
|
type = "makefile"
|
|
|
|
[build.flags]
|
|
makefile_commands = ["make ENABLE_DOCS=0"]
|
|
makefile_install_commands = [
|
|
"make install DESTDIR=$DESTDIR ENABLE_DOCS=0 LIBDIR=/usr/lib",
|
|
"install -Dvm644 docs/efivar.1 $DESTDIR/usr/share/man/man1/efivar.1",
|
|
"install -d $DESTDIR/usr/share/man/man3 && install -vm644 docs/*.3 $DESTDIR/usr/share/man/man3/"
|
|
]
|
|
skip_tests = true
|
|
|
|
[dependencies]
|
|
runtime = ["glibc"]
|
|
|
|
[[manual_sources]]
|
|
files = [ "efivar-39-upstream_fixes-1.patch", "efivar-39-posixify-build.patch" ]
|
|
|
|
[package]
|
|
description = "tools and libraries to manipulate EFI variables"
|
|
homepage = "https://github.com/rhboot/efivar"
|
|
license = "LGPL-2.1-or-later"
|
|
name = "efivar"
|
|
version = "39"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
patches = [ "efivar-39-upstream_fixes-1.patch", "efivar-39-posixify-build.patch" ]
|
|
sha256 = "c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6"
|
|
url = "https://github.com/rhboot/efivar/archive/$version/efivar-$version.tar.gz"
|