wok annotate yacpi/receipt @ rev 19995

busybox: back to 1.26.2 ('. receipt' is broken)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 22 12:34:30 2017 +0200 (2017-07-22)
parents 3ba8d2c9720d
children 922f061231c2
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
paul@14085 16 # Rules to configure and make the package.
paul@14085 17 compile_rules()
paul@14085 18 {
pascal@17673 19 sed -i 's|lncurses|& -ltinfo|' Makefile
paul@14085 20 make
paul@14085 21 }
paul@14085 22
paul@14085 23 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@14085 24 genpkg_rules()
paul@14085 25 {
paul@14085 26 mkdir -p $fs/usr/bin
paul@14085 27 cp -a $src/$PACKAGE $fs/usr/bin
paul@14085 28 }