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"

HOST_ARCH="i486 x86_64"

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
}
6063 packages and 233209 files in current database (Sat Dec 21 00:00:03 2024)