eth0s/ports/core/efivar/Pkgfile

22 lines
472 B
Text
Raw Normal View History

2019-10-10 17:43:15 +08:00
# Description: Tools and library to manipulate EFI variables
# URL:
2019-11-10 23:58:56 +08:00
# Maintainer: Emmett1, emmett1 dot 2miligrams at gmail dot com
2019-10-10 17:43:15 +08:00
# Depends on: popt
name=efivar
2022-04-09 08:19:46 +08:00
version=38
2019-10-10 17:43:15 +08:00
release=1
2020-11-13 13:58:01 +08:00
source=(https://github.com/rhboot/efivar/releases/download/$version/$name-$version.tar.bz2)
2019-10-10 17:43:15 +08:00
build() {
cd $name-$version
2022-04-09 08:19:46 +08:00
# faking mandoc
mkdir bin
ln -s /bin/true bin/mandoc
export PATH=$PWD/bin:$PATH
2019-10-10 17:43:15 +08:00
make -j1
make libdir=/usr/lib DESTDIR=$PKG install
}