wok-6.x view procps/receipt @ rev 9681

Fixed up xorg-dev and xorg-dev-proto.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 06 17:33:24 2011 +0000 (2011-05-06)
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 }