wok-current view efibootmgr/receipt @ rev 24836

updated libtasn1 and libtasn1-dev (4.16.0 -> 4.18.0)
author Hans-G?nter Theisgen
date Fri Mar 25 07:25:04 2022 +0100 (2022-03-25)
parents 5ea0ce1cecc0
children 4f8f52451ff7
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 }