wok view gnu-efi/receipt @ rev 24362
aspell: apply patch CVE-2019-25051
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 04 15:05:05 2022 +0100 (2022-02-04) |
parents | 776ff571c9e9 |
children | 8acd54cd1f4f |
line source
1 # SliTaz package receipt.
3 PACKAGE="gnu-efi"
4 VERSION="3.0.11"
5 CATEGORY="development"
6 SHORT_DESC="Development files for EFI applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/gnu-efi/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}files/$TARBALL"
14 BUILD_DEPENDS="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 make -j1 &&
30 make -j1 install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }