wok annotate i7z/receipt @ rev 24646
updated hostapd (2.9 -> 2.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 10 11:11:28 2022 +0100 (2022-03-10) |
parents | 5ea0ce1cecc0 |
children | d8e712da83b5 |
rev | line source |
---|---|
pascal@16327 | 1 # SliTaz package receipt. |
pascal@16327 | 2 |
pascal@16327 | 3 PACKAGE="i7z" |
Hans-G?nter@22938 | 4 VERSION="0.27.3" |
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 && |
pascal@16327 | 29 make DESTDIR=$DESTDIR install |
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 { |
pascal@16327 | 35 mkdir $fs/usr |
pascal@16327 | 36 cp -a $install/usr/sbin $fs/usr |
pascal@16327 | 37 } |