SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gnu-efi"

# SliTaz package receipt.

PACKAGE="gnu-efi"
VERSION="3.0.14"
CATEGORY="development"
SHORT_DESC="Development files for EFI applications."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://directory.fsf.org/wiki/GNU_EFI"

TARBALL="$PACKAGE-$VERSION.tar.bz2"
WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"

BUILD_DEPENDS="linux-api-headers"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/gnu-efi/files/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/files/gnu-efi-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
    sed -i "s|^\(INSTALLROOT\).*|\1 := $DESTDIR|;s|/local||" Make.defaults

    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/*    $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)