wok-current view yacpi/receipt @ rev 25569

BootProg: fix boot16.asm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 12 21:35:09 2023 +0000 (19 months ago)
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 }