wok-next view efibootmgr/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="efibootmgr"
4 VERSION="17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Modify UEFI firmware bootmanager variables."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPLv2.1"
9 WEB_SITE="https://github.com/rhinstaller/efibootmgr"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rhboot/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="popt"
15 BUILD_DEPENDS="efivar-dev icu-dev popt-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i '/extern int efi_set_verbose(/d' \
21 src/efibootmgr.c
22 export EFIDIR=/boot/efi
23 export CFLAGS="$CFLAGS -I/usr/include/efivar"
25 make libdir=/usr/lib &&
26 make libdir=/usr/lib DESTDIR=$DESTDIR install
27 }