wok annotate i7z/receipt @ rev 25548
aaphoto: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 23 17:05:06 2023 +0000 (20 months ago) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
pascal@16327 | 1 # SliTaz package receipt. |
pascal@16327 | 2 |
pascal@16327 | 3 PACKAGE="i7z" |
Hans-G?nter@24654 | 4 VERSION="0.27.4" |
pascal@16327 | 5 CATEGORY="misc" |
pascal@16327 | 6 SHORT_DESC="A better i7 (and now i3, i5) reporting tool for Linux." |
pascal@16327 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16327 | 8 LICENSE="GPL2" |
Hans-G?nter@22938 | 9 WEB_SITE="https://github.com/DimitryAndric/i7z" |
Hans-G?nter@22938 | 10 |
pascal@16327 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22938 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@16327 | 13 |
pascal@16327 | 14 DEPENDS="ncurses" |
Hans-G?nter@22938 | 15 BUILD_DEPENDS="ncurses-dev" |
pascal@16327 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16327 | 23 # Rules to configure and make the package. |
pascal@16327 | 24 compile_rules() |
pascal@16327 | 25 { |
pascal@17670 | 26 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@22938 | 27 |
pascal@16327 | 28 make && |
Hans-G?nter@24654 | 29 make install DESTDIR=$DESTDIR |
pascal@16327 | 30 } |
pascal@16327 | 31 |
pascal@16327 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16327 | 33 genpkg_rules() |
pascal@16327 | 34 { |
Hans-G?nter@24654 | 35 cook_copy_folders sbin |
pascal@16327 | 36 } |