wok view efibootmgr/receipt @ rev 25526

created recipe for lua5.1-mpack 1.0.9
author Hans-G?nter Theisgen
date Sat Feb 25 07:18:33 2023 +0100 (21 months ago)
parents 5ea0ce1cecc0
children 20ad21d5532c
line source
1 # SliTaz package receipt.
3 PACKAGE="efibootmgr"
4 VERSION="17"
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 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch --strip=1 --input=$stuff/patches/efibootmgr.c-17 &&
28 export EFIDIR=/boot/efi
29 export CC=gcc-83
30 export COMPILER=gcc-83
31 export CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"
33 make libdir=/usr/lib &&
34 make libdir=/usr/lib DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders sbin
41 }