wok-next diff nbwmon/receipt @ rev 20523
libnsgif: add missing stuff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 23 15:16:45 2018 +0200 (2018-03-23) |
parents | 466bca9334ef |
children | d457c4e37c1b |
line diff
1.1 --- a/nbwmon/receipt Tue Oct 17 10:14:12 2017 +0200 1.2 +++ b/nbwmon/receipt Fri Mar 23 15:16:45 2018 +0200 1.3 @@ -1,27 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="nbwmon" 1.8 VERSION="20140917" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Ncurses bandwidth monitor." 1.11 +SHORT_DESC="Ncurses bandwidth monitor" 1.12 MAINTAINER="paul@slitaz.org" 1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 LICENSE="MIT" 1.15 WEB_SITE="https://github.com/defer-/nbwmon" 1.16 + 1.17 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.18 WGET_URL="git|git://github.com/defer-/nbwmon" 1.19 1.20 -DEPENDS="ncurses" 1.21 BUILD_DEPENDS="ncurses-dev git bzip2" 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/nbwmon $install/usr/bin/nbwmon 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" 1.40 }