wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="yacpi"
4 VERSION="3.0.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Yet Another Configuration and Power Interface."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.ngolde.de/yacpi.html"
11 WGET_URL="http://www.ngolde.de/download/$TARBALL"
13 DEPENDS="ncurses libacpi"
14 BUILD_DEPENDS="ncurses-dev libacpi-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/download\//!d;s|.*yacpi-||;s|.tar.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|lncurses|& -ltinfo|' Makefile
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/$PACKAGE $fs/usr/bin
35 }