wok-current view i7z/receipt @ rev 24397
updated cc65 (2.18 -> 2.19)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 13:39:16 2022 +0100 (2022-02-08) |
parents | 5ea0ce1cecc0 |
children | d8e712da83b5 |
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*}/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 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 }