wok-next diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/efibootmgr/receipt Tue Sep 01 10:09:15 2020 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="efibootmgr" 1.7 +VERSION="17" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Modify UEFI firmware bootmanager variables." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="LGPLv2.1" 1.12 +WEB_SITE="https://github.com/rhinstaller/efibootmgr" 1.13 + 1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.15 +WGET_URL="https://github.com/rhboot/$PACKAGE/archive/$VERSION.tar.gz" 1.16 + 1.17 +DEPENDS="popt" 1.18 +BUILD_DEPENDS="efivar-dev icu-dev popt-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + sed -i '/extern int efi_set_verbose(/d' \ 1.24 + src/efibootmgr.c 1.25 + export EFIDIR=/boot/efi 1.26 + export CFLAGS="$CFLAGS -I/usr/include/efivar" 1.27 + 1.28 + make libdir=/usr/lib && 1.29 + make libdir=/usr/lib DESTDIR=$DESTDIR install 1.30 +}