wok view gnu-efi/receipt @ rev 25710

typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 25 12:42:06 2024 +0000 (3 months ago)
parents 5e7b3f7922a2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-efi"
4 VERSION="3.0.17"
5 CATEGORY="development"
6 SHORT_DESC="Development files for EFI applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://directory.fsf.org/wiki/GNU_EFI"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="binutils linux-api-headers"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/gnu-efi/files/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*/files/gnu-efi-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
27 sed -i "s|^\(INSTALLROOT\).*|\1 := $DESTDIR|;s|/local||" Make.defaults
29 export CFLAGS="$CFLAGS -std=c99"
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }