wok annotate xrestop/receipt @ rev 17490

Add xrestop
author Paul Issott <paul@slitaz.org>
date Fri Jan 02 18:34:02 2015 +0000 (2015-01-02)
parents
children 5cad8b9a758c
rev   line source
paul@17490 1 # SliTaz package receipt.
paul@17490 2
paul@17490 3 PACKAGE="xrestop"
paul@17490 4 VERSION="0.4"
paul@17490 5 CATEGORY="utilities"
paul@17490 6 SHORT_DESC="X11 server resource usage monitor."
paul@17490 7 MAINTAINER="paul@slitaz.org"
paul@17490 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@17490 9 WEB_SITE="http://www.freedesktop.org/wiki/Software/xrestop/"
paul@17490 10 WGET_URL="http://downloads.yoctoproject.org/releases/xrestop/$TARBALL"
paul@17490 11
paul@17490 12 DEPENDS="ncurses xorg-libXres"
paul@17490 13 BUILD_DEPENDS="ncurses-dev xorg-libXres-dev"
paul@17490 14
paul@17490 15 # Rules to configure and make the package.
paul@17490 16 compile_rules()
paul@17490 17 {
paul@17490 18 ./configure --prefix=/usr
paul@17490 19 make
paul@17490 20 make install
paul@17490 21 }
paul@17490 22
paul@17490 23 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@17490 24 genpkg_rules()
paul@17490 25 {
paul@17490 26 mkdir -p $fs/usr
paul@17490 27 cp -a $install/usr/bin $fs/usr
paul@17490 28 }
paul@17490 29