wok-6.x view procps/receipt @ rev 8887
Oups... fix lxlauncher again!
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 27 05:13:11 2011 +0100 (2011-02-27) |
parents | 2615f6b2633f |
children | 547881468fc2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="procps"
4 VERSION="3.2.8"
5 CATEGORY="utilities"
6 SHORT_DESC="The proc filesystem utilities."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://procps.sourceforge.net/"
12 WGET_URL="http://procps.sourceforge.net/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make && make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr $fs/lib
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/lib/* $fs/lib
28 # Remove utils already supplied by Busybox
29 for i in free top uptime watch
30 do
31 rm -f $fs/usr/bin/$i
32 done
33 }
35 # Overlap busybox
36 pre_install()
37 {
38 rm -f $1/usr/bin/pkill
39 rm -f $1/usr/bin/pmap
40 rm -f $1/usr/bin/pgrep
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox /usr/bin/pkill
46 ln -s /bin/busybox /usr/bin/pmap
47 ln -s /bin/busybox /usr/bin/pgrep
48 }