summaryrefslogtreecommitdiff
path: root/core/efivar/MAKEPKG
diff options
context:
space:
mode:
authorrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
committerrawnix ports <ports@rawnix.org>2026-09-26 18:19:05 +0000
commitc82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch)
tree56d864b5a5c6c145edd96178ae219a8f90e191a6 /core/efivar/MAKEPKG
downloadports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'core/efivar/MAKEPKG')
-rw-r--r--core/efivar/MAKEPKG40
1 files changed, 40 insertions, 0 deletions
diff --git a/core/efivar/MAKEPKG b/core/efivar/MAKEPKG
new file mode 100644
index 0000000..405d513
--- /dev/null
+++ b/core/efivar/MAKEPKG
@@ -0,0 +1,40 @@
+#!/bin/mkpkg
+# description: Tools and libraries to work with EFI variables
+# url: https://github.com/rhboot/efivar
+
+name=efivar
+version=39
+release=1
+source=(https://github.com/rhboot/$name/archive/$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "c9edd15f2eeeea63232f3e669a48e992c7be9aff57ee22672ac31f5eca1609a6"
+)
+
+build() {
+ cd $name-$version
+
+ # Fix -Werror with clang
+ sed -i 's/-Werror//' src/include/defaults.mk
+
+ make CC=clang ENABLE_DOCS=0 \
+ libdir=/lib \
+ includedir=/include \
+ bindir=/bin
+
+ make install CC=clang ENABLE_DOCS=0 \
+ DESTDIR=$PKG \
+ libdir=/lib \
+ includedir=/include \
+ bindir=/bin
+
+ install -d $PKG/usr/share/man/man1
+ install -m644 docs/efivar.1 $PKG/usr/share/man/man1/
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh