wok view procps/receipt @ rev 7613

Add fakeroot. Gives a fake root enviroment, useful for building packages as a non-privileged user.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 11 21:32:22 2010 +0000 (2010-12-11)
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 }