wok view procps/receipt @ rev 8957

Fixed xpat2 to not need xorg and xorg-dev. Add xorg-libX11, xorg-libXt, and xorg-libXaw to xpat2 depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 01 18:45:33 2011 +0000 (2011-03-01)
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 }