wok annotate 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
rev   line source
pascal@4337 1 # SliTaz package receipt.
pascal@4337 2
pascal@4337 3 PACKAGE="gnu-efi"
Hans-G?nter@25680 4 VERSION="3.0.17"
pascal@4337 5 CATEGORY="development"
pascal@4337 6 SHORT_DESC="Development files for EFI applications."
pascal@4337 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15215 8 LICENSE="GPL2"
pascal@25420 9 WEB_SITE="https://directory.fsf.org/wiki/GNU_EFI"
Hans-G?nter@22861 10
pascal@20150 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@25440 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
pascal@4337 13
Hans-G?nter@25681 14 BUILD_DEPENDS="binutils linux-api-headers"
pankso@10440 15
pascal@24361 16 # What is the latest version available today?
pascal@24361 17 current_version()
pascal@24361 18 {
pascal@24361 19 wget -O - https://sourceforge.net/projects/gnu-efi/files/ 2>/dev/null | \
pascal@24361 20 sed '/scope="row/!d;s|.*/files/gnu-efi-||;s|.tar.*||;q'
pascal@24361 21 }
pascal@24361 22
pascal@4337 23 # Rules to configure and make the package.
pascal@4337 24 compile_rules()
pascal@4337 25 {
pankso@10440 26 KERNEL_VERSION=$(grep ^VERSION= $WOK/linux/receipt | cut -d '"' -f 2)
pascal@20151 27 sed -i "s|^\(INSTALLROOT\).*|\1 := $DESTDIR|;s|/local||" Make.defaults
Hans-G?nter@22861 28
Hans-G?nter@25680 29 export CFLAGS="$CFLAGS -std=c99"
Hans-G?nter@24609 30 make &&
Hans-G?nter@24609 31 make install
pascal@4337 32 }
pascal@4337 33
pascal@4337 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4337 35 genpkg_rules()
pascal@4337 36 {
Hans-G?nter@22861 37 cp -a $install/* $fs
pascal@4337 38 }