wok-current annotate efibootmgr/receipt @ rev 24388

updated bwm-ng (0.6.2 -> 0.6.3)
author Hans-G?nter Theisgen
date Mon Feb 07 16:44:28 2022 +0100 (2022-02-07)
parents abf3670a5a52
children 3ef416821a7d
rev   line source
Hans-G?nter@23928 1 # SliTaz package receipt.
Hans-G?nter@23928 2
Hans-G?nter@23928 3 PACKAGE="efibootmgr"
Hans-G?nter@23928 4 VERSION="16"
Hans-G?nter@23928 5 CATEGORY="system-tools"
Hans-G?nter@23928 6 SHORT_DESC="Manage UEFI boot manager variables."
Hans-G?nter@23928 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@23928 8 LICENSE="GPLv2+"
Hans-G?nter@23928 9 WEB_SITE="https://github.com/rhinstaller/efibootmgr"
Hans-G?nter@23928 10
Hans-G?nter@23928 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@23928 12 WGET_URL="https://github.com/rhboot/efibootmgr/archive/$VERSION.tar.gz"
Hans-G?nter@23928 13
Hans-G?nter@23928 14 DEPENDS="efivar gcc83-lib-base popt"
Hans-G?nter@23928 15 BUILD_DEPENDS="efivar-dev gcc83 icu-dev popt-dev"
Hans-G?nter@23928 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24055 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
Hans-G?nter@23928 23 # Rules to configure and make the package.
Hans-G?nter@23928 24 compile_rules()
Hans-G?nter@23928 25 {
Hans-G?nter@23928 26 export EFIDIR=/boot/efi
Hans-G?nter@23928 27 export CC=gcc-83
Hans-G?nter@23928 28 export COMPILER=gcc-83
Hans-G?nter@23928 29 export CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"
Hans-G?nter@23928 30
Hans-G?nter@23928 31 make libdir=/usr/lib &&
Hans-G?nter@23928 32 make libdir=/usr/lib DESTDIR=$DESTDIR install
Hans-G?nter@23928 33 }
Hans-G?nter@23928 34
Hans-G?nter@23928 35 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@23928 36 genpkg_rules()
Hans-G?nter@23928 37 {
Hans-G?nter@23928 38 mkdir -p $fs/usr
Hans-G?nter@23928 39 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@23928 40 }