wok view efibootmgr/receipt @ rev 24300
updated tcsh (6.22.02 -> 6.23.02)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 15 16:54:59 2022 +0100 (2022-01-15) |
parents | abf3670a5a52 |
children | 3ef416821a7d |
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 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 export EFIDIR=/boot/efi
27 export CC=gcc-83
28 export COMPILER=gcc-83
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 mkdir -p $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 }