# HG changeset patch # User Hans-G?nter Theisgen # Date 1571668209 -3600 # Node ID fac2fae91e34e39d40d528bd39ca5c426c8d4b1f # Parent 284b8e871560529f805e8e723f78b079cf48a688 updated tiptop (2.2 -> 2.3.1) diff -r 284b8e871560 -r fac2fae91e34 tiptop/receipt --- a/tiptop/receipt Mon Oct 21 15:20:41 2019 +0100 +++ b/tiptop/receipt Mon Oct 21 15:30:09 2019 +0100 @@ -1,41 +1,45 @@ # SliTaz package receipt. PACKAGE="tiptop" -VERSION="2.2" +VERSION="2.3.1" CATEGORY="utilities" -SHORT_DESC="Tiptop is a performance monitoring tool for Linux." +SHORT_DESC="A performance monitoring tool for Linux." MAINTAINER="paul@slitaz.org" LICENSE="GPL2" +WEB_SITE="http://tiptop.gforge.inria.fr/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://tiptop.gforge.inria.fr/" -WGET_URL="http://tiptop.gforge.inria.fr/releases/$TARBALL" +WGET_URL="${WEB_SITE}releases/$TARBALL" -DEPENDS="ncurses libxml2" -BUILD_DEPENDS="ncurses-dev libxml2-dev bison flex m4" +DEPENDS="libxml2 ncurses" +BUILD_DEPENDS="bison flex libxml2-dev m4 ncurses-dev" # Rules to configure and make the package. compile_rules() { - ./configure --prefix=/usr - make + ./configure --prefix=/usr && + make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr $fs/etc/skel - cp -a $install/usr/bin $fs/usr - cp -a $src/tiptoprc $fs/etc/skel/.tiptoprc + mkdir -p $fs/usr + mkdir -p $fs/etc/skel + + cp -a $install/usr/bin $fs/usr + cp -a $src/tiptoprc $fs/etc/skel/.tiptoprc } post_install() { - for i in $(ls "$1/home" 2> /dev/null); do + for i in $(ls "$1/home" 2> /dev/null) + do [ -f "$1/home/$i/.tiptoprc" ] && continue cp "$1/etc/skel/.tiptoprc" "$1/home/$i" chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.tiptoprc" - done + done } post_remove()