wok view procps/receipt @ rev 9331
Fix: docbook-xml (we need 4.2 DTD file to cook kdelibs)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:16:28 2011 +0100 (2011-03-18) |
parents | 2ad34d8fdfe7 |
children | ded2ad0d846d |
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 patch -Np1 -i $stuff/$PACKAGE-$VERSION+gmake-3.82.patch
19 make && make -j1 install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr $fs/lib
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/lib/* $fs/lib
29 # Remove utils already supplied by Busybox
30 for i in free top uptime watch
31 do
32 rm -f $fs/usr/bin/$i
33 done
34 }
36 # Overlap busybox
37 pre_install()
38 {
39 rm -f $1/usr/bin/pkill
40 rm -f $1/usr/bin/pmap
41 rm -f $1/usr/bin/pgrep
42 }
44 post_remove()
45 {
46 ln -s /bin/busybox /usr/bin/pkill
47 ln -s /bin/busybox /usr/bin/pmap
48 ln -s /bin/busybox /usr/bin/pgrep
49 }