wok-next view procps/receipt @ rev 4550

fix: pkg rules
author Allan Pinto <allan316@gmail.com>
date Fri Dec 04 17:16:37 2009 +0000 (2009-12-04)
parents
children 2ad34d8fdfe7
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 }