wok-current view efibootmgr/receipt @ rev 25721
Update slitaz-i18n for gnumeric
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Jun 18 11:25:19 2024 +0000 (4 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 popt"
15 BUILD_DEPENDS="efivar-dev 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 CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"
31 make libdir=/usr/lib &&
32 make libdir=/usr/lib DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders sbin
39 }