wok view i7z/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents ac8ca9758df1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="i7z"
4 VERSION="0.27.4"
5 CATEGORY="misc"
6 SHORT_DESC="A better i7 (and now i3, i5) reporting tool for Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/DimitryAndric/i7z"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
28 make &&
29 make install DESTDIR=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cook_copy_folders sbin
36 }