wok-next annotate procps/receipt @ rev 4297
Add: procps
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Sep 26 22:43:03 2009 +0000 (2009-09-26) |
parents | |
children | 2ad34d8fdfe7 |
rev | line source |
---|---|
paul@4297 | 1 # SliTaz package receipt. |
paul@4297 | 2 |
paul@4297 | 3 PACKAGE="procps" |
paul@4297 | 4 VERSION="3.2.8" |
paul@4297 | 5 CATEGORY="utilities" |
paul@4297 | 6 SHORT_DESC="The proc filesystem utilities." |
paul@4297 | 7 MAINTAINER="paul@slitaz.org" |
paul@4297 | 8 DEPENDS="ncurses" |
paul@4297 | 9 BUILD_DEPENDS="ncurses-dev" |
paul@4297 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4297 | 11 WEB_SITE="http://procps.sourceforge.net/" |
paul@4297 | 12 WGET_URL="http://procps.sourceforge.net/$TARBALL" |
paul@4297 | 13 |
paul@4297 | 14 # Rules to configure and make the package. |
paul@4297 | 15 compile_rules() |
paul@4297 | 16 { |
paul@4297 | 17 cd $src |
paul@4297 | 18 make && make DESTDIR=$PWD/_pkg install |
paul@4297 | 19 } |
paul@4297 | 20 |
paul@4297 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4297 | 22 genpkg_rules() |
paul@4297 | 23 { |
paul@4297 | 24 mkdir -p $fs/usr $fs/lib |
paul@4297 | 25 cp -a $_pkg/usr/bin $fs/usr |
paul@4297 | 26 cp -a $_pkg/lib/* $fs/lib |
paul@4297 | 27 |
paul@4297 | 28 # Remove utils already supplied by Busybox |
paul@4297 | 29 for i in free top uptime watch |
paul@4297 | 30 do |
paul@4297 | 31 rm -f $fs/usr/bin/$i |
paul@4297 | 32 done |
paul@4297 | 33 } |
paul@4297 | 34 |