wok rev 4297

Add: procps
author Paul Issott <paul@slitaz.org>
date Sat Sep 26 22:43:03 2009 +0000 (2009-09-26)
parents 45e78d0e94fd
children 3dd05b22268d
files procps/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/procps/receipt	Sat Sep 26 22:43:03 2009 +0000
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="procps"
     1.7 +VERSION="3.2.8"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="The proc filesystem utilities."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="ncurses-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://procps.sourceforge.net/"
    1.15 +WGET_URL="http://procps.sourceforge.net/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	make && make DESTDIR=$PWD/_pkg install
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr $fs/lib
    1.28 +	cp -a $_pkg/usr/bin $fs/usr
    1.29 +	cp -a $_pkg/lib/* $fs/lib
    1.30 +
    1.31 +	# Remove utils already supplied by Busybox
    1.32 +	for i in free top uptime watch
    1.33 +	do
    1.34 +		rm -f $fs/usr/bin/$i
    1.35 +	done
    1.36 +}
    1.37 +