wok annotate tiptop/receipt @ rev 17207
pcmanfm: don`t duplicate libfm.so in binary
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 09 19:52:41 2014 +0200 (2014-10-09) |
parents | 633aff33b052 |
children | cc6bbcf323fa |
rev | line source |
---|---|
paul@17078 | 1 # SliTaz package receipt. |
paul@17078 | 2 |
paul@17078 | 3 PACKAGE="tiptop" |
paul@17078 | 4 VERSION="2.2" |
paul@17078 | 5 CATEGORY="utilities" |
paul@17078 | 6 SHORT_DESC="Tiptop is a performance monitoring tool for Linux." |
paul@17078 | 7 MAINTAINER="paul@slitaz.org" |
paul@17078 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@17078 | 9 WEB_SITE="http://tiptop.gforge.inria.fr/" |
paul@17078 | 10 WGET_URL="http://tiptop.gforge.inria.fr/releases/$TARBALL" |
paul@17078 | 11 |
paul@17078 | 12 DEPENDS="ncurses libxml2" |
paul@17078 | 13 BUILD_DEPENDS="ncurses-dev libxml2-dev bison flex m4" |
paul@17078 | 14 |
paul@17078 | 15 # Rules to configure and make the package. |
paul@17078 | 16 compile_rules() |
paul@17078 | 17 { |
paul@17078 | 18 ./configure --prefix=/usr |
paul@17078 | 19 make |
paul@17078 | 20 make install |
paul@17078 | 21 } |
paul@17078 | 22 |
paul@17078 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@17078 | 24 genpkg_rules() |
paul@17078 | 25 { |
pascal@17080 | 26 mkdir -p $fs/usr $fs/etc/skel |
paul@17078 | 27 cp -a $install/usr/bin $fs/usr |
pascal@17080 | 28 cp -a $src/tiptoprc $fs/etc/skel/.tiptoprc |
paul@17078 | 29 } |
paul@17078 | 30 |
pascal@17080 | 31 post_install() |
pascal@17080 | 32 { |
pascal@17085 | 33 for i in $(ls $1/home 2> /dev/null); do |
pascal@17085 | 34 [ -f /home/$i/.tiptoprc ] && continue |
pascal@17080 | 35 cp $1/etc/skel/.tiptoprc $1/home/$i |
pascal@17080 | 36 chroot $1/ chown $i.users /home/$i/.tiptoprc |
pascal@17080 | 37 done |
pascal@17080 | 38 } |
pascal@17080 | 39 |
pascal@17080 | 40 post_remove() |
pascal@17080 | 41 { |
pascal@17080 | 42 rm -f $1/home/*/.tiptoprc |
pascal@17080 | 43 } |