wok-next diff tiptop/receipt @ rev 21452
updated socat (2.0.0-b7 -> 2.0.0-b9)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 13:23:44 2020 +0100 (2020-05-07) |
parents | ed8073aa8cf0 |
children |
line diff
1.1 --- a/tiptop/receipt Mon Dec 21 00:07:14 2015 +0100 1.2 +++ b/tiptop/receipt Thu May 07 13:23:44 2020 +0100 1.3 @@ -3,42 +3,37 @@ 1.4 PACKAGE="tiptop" 1.5 VERSION="2.2" 1.6 CATEGORY="utilities" 1.7 -SHORT_DESC="Tiptop is a performance monitoring tool for Linux." 1.8 +SHORT_DESC="Performance monitoring tool for Linux" 1.9 MAINTAINER="paul@slitaz.org" 1.10 LICENSE="GPL2" 1.11 +WEB_SITE="http://tiptop.gforge.inria.fr/" 1.12 + 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 -WEB_SITE="http://tiptop.gforge.inria.fr/" 1.15 WGET_URL="http://tiptop.gforge.inria.fr/releases/$TARBALL" 1.16 1.17 -DEPENDS="ncurses libxml2" 1.18 BUILD_DEPENDS="ncurses-dev libxml2-dev bison flex m4" 1.19 1.20 -# Rules to configure and make the package. 1.21 -compile_rules() 1.22 -{ 1.23 - ./configure --prefix=/usr 1.24 - make 1.25 +compile_rules() { 1.26 + ./configure --prefix=/usr && 1.27 + make && 1.28 make install 1.29 } 1.30 1.31 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 -genpkg_rules() 1.33 -{ 1.34 +genpkg_rules() { 1.35 mkdir -p $fs/usr $fs/etc/skel 1.36 cp -a $install/usr/bin $fs/usr 1.37 cp -a $src/tiptoprc $fs/etc/skel/.tiptoprc 1.38 + DEPENDS="ncurses libxml2" 1.39 } 1.40 1.41 -post_install() 1.42 -{ 1.43 - for i in $(ls "$1/home" 2> /dev/null); do 1.44 +post_install() { 1.45 + for i in $(ls "$1/home" 2>/dev/null); do 1.46 [ -f "$1/home/$i/.tiptoprc" ] && continue 1.47 cp "$1/etc/skel/.tiptoprc" "$1/home/$i" 1.48 chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.tiptoprc" 1.49 done 1.50 } 1.51 1.52 -post_remove() 1.53 -{ 1.54 +post_remove() { 1.55 rm -f "$1"/home/*/.tiptoprc 1.56 }