wok annotate yacpi/receipt @ rev 24639
updated hdparm (9.58 -> 9.63)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 15:36:39 2022 +0100 (2022-03-09) |
parents | c7c3567bd8d4 |
children |
rev | line source |
---|---|
paul@14085 | 1 # SliTaz package receipt. |
paul@14085 | 2 |
paul@14085 | 3 PACKAGE="yacpi" |
paul@14085 | 4 VERSION="3.0.1" |
paul@14085 | 5 CATEGORY="utilities" |
paul@14085 | 6 SHORT_DESC="Yet Another Configuration and Power Interface." |
paul@14085 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
paul@14085 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@14085 | 10 WEB_SITE="http://www.ngolde.de/yacpi.html" |
paul@14085 | 11 WGET_URL="http://www.ngolde.de/download/$TARBALL" |
paul@14085 | 12 |
pascal@15000 | 13 DEPENDS="ncurses libacpi" |
pascal@15000 | 14 BUILD_DEPENDS="ncurses-dev libacpi-dev" |
pascal@15000 | 15 |
pascal@24304 | 16 # What is the latest version available today? |
pascal@24304 | 17 current_version() |
pascal@24304 | 18 { |
pascal@24304 | 19 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 20 sed '/download\//!d;s|.*yacpi-||;s|.tar.*||;q' |
pascal@24304 | 21 } |
pascal@24304 | 22 |
paul@14085 | 23 # Rules to configure and make the package. |
paul@14085 | 24 compile_rules() |
paul@14085 | 25 { |
pascal@17673 | 26 sed -i 's|lncurses|& -ltinfo|' Makefile |
paul@14085 | 27 make |
paul@14085 | 28 } |
paul@14085 | 29 |
paul@14085 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@14085 | 31 genpkg_rules() |
paul@14085 | 32 { |
paul@14085 | 33 mkdir -p $fs/usr/bin |
paul@14085 | 34 cp -a $src/$PACKAGE $fs/usr/bin |
paul@14085 | 35 } |