wok view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tiptop"
4 VERSION="2.2"
5 CATEGORY="utilities"
6 SHORT_DESC="Tiptop is a performance monitoring tool for Linux."
7 MAINTAINER="paul@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://tiptop.gforge.inria.fr/"
10 WGET_URL="http://tiptop.gforge.inria.fr/releases/$TARBALL"
12 DEPENDS="ncurses libxml2"
13 BUILD_DEPENDS="ncurses-dev libxml2-dev bison flex m4"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --prefix=/usr
19 make
20 make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $fs/etc/skel
27 cp -a $install/usr/bin $fs/usr
28 cp -a $src/tiptoprc $fs/etc/skel/.tiptoprc
29 }
31 post_install()
32 {
33 for i in $(ls $1/home 2> /dev/null); do
34 [ -f /home/$i/.tiptoprc ] && continue
35 cp $1/etc/skel/.tiptoprc $1/home/$i
36 chroot $1/ chown $i.users /home/$i/.tiptoprc
37 done
38 }
40 post_remove()
41 {
42 rm -f $1/home/*/.tiptoprc
43 }