wok annotate gnu-efi/receipt @ rev 25538
get-java8-jre: get version 8u361 by default
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 03 17:41:58 2023 +0100 (21 months ago) |
parents | 01119cbefbc3 |
children | 5e7b3f7922a2 |
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" |
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 |
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 } |