wok-current view efibootmgr/receipt @ rev 25146
updated portaudio and portaudio-dev (190600_20161030 -> 19.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 15:26:46 2022 +0100 (2022-06-29) |
parents | 5ea0ce1cecc0 |
children | 4f8f52451ff7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="efibootmgr"
4 VERSION="17"
5 CATEGORY="system-tools"
6 SHORT_DESC="Manage UEFI boot manager variables."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPLv2+"
9 WEB_SITE="https://github.com/rhinstaller/efibootmgr"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/rhboot/efibootmgr/archive/$VERSION.tar.gz"
14 DEPENDS="efivar gcc83-lib-base popt"
15 BUILD_DEPENDS="efivar-dev gcc83 icu-dev popt-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 patch --strip=1 --input=$stuff/patches/efibootmgr.c-17 &&
28 export EFIDIR=/boot/efi
29 export CC=gcc-83
30 export COMPILER=gcc-83
31 export CFLAGS="$CFLAGS -I/usr/include/unicode -I/usr/include/efivar"
33 make libdir=/usr/lib &&
34 make libdir=/usr/lib DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders sbin
41 }