wok-next diff yacpi/receipt @ rev 20811

blazekiss: up (20170630); add icons
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 13 16:49:32 2018 +0300 (2018-06-13)
parents 466bca9334ef
children
line diff
     1.1 --- a/yacpi/receipt	Tue Oct 17 10:14:12 2017 +0200
     1.2 +++ b/yacpi/receipt	Wed Jun 13 16:49:32 2018 +0300
     1.3 @@ -1,27 +1,24 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="yacpi"
     1.8  VERSION="3.0.1"
     1.9  CATEGORY="utilities"
    1.10 -SHORT_DESC="Yet Another Configuration and Power Interface."
    1.11 +SHORT_DESC="Yet Another Configuration and Power Interface"
    1.12  MAINTAINER="paul@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://www.ngolde.de/yacpi.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.ngolde.de/yacpi.html"
    1.18  WGET_URL="http://www.ngolde.de/download/$TARBALL"
    1.19  
    1.20 -DEPENDS="ncurses libacpi"
    1.21  BUILD_DEPENDS="ncurses-dev libacpi-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	make 
    1.27 +compile_rules() {
    1.28 +	make &&
    1.29 +	install -Dm755 $src/yacpi $install/usr/bin/yacpi
    1.30  }
    1.31  
    1.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 -genpkg_rules()
    1.34 -{
    1.35 -	mkdir -p $fs/usr/bin
    1.36 -	cp -a $src/$PACKAGE $fs/usr/bin
    1.37 +genpkg_rules() {
    1.38 +	copy @std
    1.39 +	DEPENDS="ncurses libacpi"
    1.40  }