wok annotate yacpi/receipt @ rev 17680
Rollback socat
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Thu Feb 19 12:49:41 2015 -0200 (2015-02-19) |
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 } |