wok-current annotate gnu-efi/receipt @ rev 25127

updated arpwatch (2.1a15 -> 3.1)
author Hans-G?nter Theisgen
date Tue Jun 28 16:41:22 2022 +0100 (2022-06-28)
parents 370da83187ab
children 1b47827a7c64
rev   line source
pascal@4337 1 # SliTaz package receipt.
pascal@4337 2
pascal@4337 3 PACKAGE="gnu-efi"
Hans-G?nter@24609 4 VERSION="3.0.14"
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"
Hans-G?nter@22861 9 WEB_SITE="https://sourceforge.net/projects/gnu-efi/"
Hans-G?nter@22861 10
pascal@20150 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@22861 12 WGET_URL="${WEB_SITE}files/$TARBALL"
pascal@4337 13
pankso@10440 14 BUILD_DEPENDS="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@24609 29 make &&
Hans-G?nter@24609 30 make install
pascal@4337 31 }
pascal@4337 32
pascal@4337 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4337 34 genpkg_rules()
pascal@4337 35 {
Hans-G?nter@22861 36 cp -a $install/* $fs
pascal@4337 37 }