wok view yacpi/receipt @ rev 24019
syslinux: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 16:32:57 2021 +0000 (2021-02-28) |
parents | 3ba8d2c9720d |
children | 922f061231c2 |
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 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|lncurses|& -ltinfo|' Makefile
20 make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/$PACKAGE $fs/usr/bin
28 }