wok view i7z/receipt @ rev 24128
sokojs: get slc levels (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 16 18:22:13 2021 +0000 (2021-10-16) |
parents | 45ad031ff730 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="i7z"
4 VERSION="0.27.3"
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*}/releases 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 DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 }