wok view efibootmgr/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 3ef416821a7d |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 patch --strip=1 --input=$stuff/patches/efibootmgr.c-17 &&
29 export EFIDIR=/boot/efi
30 export CC=gcc-83
31 export COMPILER=gcc-83
32 export CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"
34 make libdir=/usr/lib &&
35 make libdir=/usr/lib DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders sbin
42 }