blob: d47e14fe06f9a2756073c8bfe5ff86972f12b60f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/sh
NAME="efivar"
DESC="Tools and library to manipulate EFI variables"
MAKEDEPS="popt linux-headers mandoc"
PKG_VER=38
SOURCE="https://github.com/rhboot/efivar/releases/download/$PKG_VER/efivar-$PKG_VER.tar.bz2"
ADDITIONAL="
musl-compat.patch
"
prepare() {
apply_patches
sed -i 's/#include <sys\/cdefs.h>//g' "$BUILD_ROOT/src/compiler.h"
}
build() {
cd "$BUILD_ROOT"
libdir="/usr/lib" make
}
package() {
cd "$BUILD_ROOT"
libdir="/usr/lib" make DESTDIR="$PKG_DEST" install
}
|