wok-6.x view efibootmgr/receipt @ rev 23963
Up curl (7.72.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 02 10:34:57 2020 +0000 (2020-10-02) |
parents | |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="efibootmgr"
4 VERSION="16"
5 CATEGORY="system-tools"
6 SHORT_DESC="Manage UEFI boot manager variables."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://github.com/rhinstaller/efibootmgr"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rhboot/efibootmgr/archive/$VERSION.tar.gz"
14 DEPENDS="efivar gcc83-lib-base popt"
15 BUILD_DEPENDS="efivar-dev gcc83 icu-dev popt-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export EFIDIR=/boot/efi
21 export CC=gcc-83
22 export COMPILER=gcc-83
23 export CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"
25 make libdir=/usr/lib &&
26 make libdir=/usr/lib DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/sbin $fs/usr
34 }