wok view i7z/receipt @ rev 24832
updated libspiro and libspiro-dev (0.5.20150702 -> 20200505)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 06:24:51 2022 +0100 (2022-03-25) |
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 }