SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "efibootmgr"

# SliTaz package receipt.

PACKAGE="efibootmgr"
VERSION="17"
CATEGORY="system-tools"
SHORT_DESC="Manage UEFI boot manager variables."
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPLv2+"
WEB_SITE="https://github.com/rhinstaller/efibootmgr"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/rhboot/efibootmgr/archive/$VERSION.tar.gz"

DEPENDS="efivar popt"
BUILD_DEPENDS="efivar-dev icu-dev popt-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    patch --strip=1 --input=$stuff/patches/efibootmgr.c-17 &&

    export    EFIDIR=/boot/efi
    export    CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"

    make libdir=/usr/lib &&
    make libdir=/usr/lib DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    sbin
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)