wok view yacpi/receipt @ rev 17873
eom: Update bdeps and genpkg_rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Fri Mar 27 02:10:52 2015 -0300 (2015-03-27) |
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 }