wok view xrestop/receipt @ rev 19039

Webian Shell - again
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Apr 15 09:08:59 2016 -0300 (2016-04-15)
parents 17e313b5b9c1
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xrestop"
4 VERSION="0.4"
5 CATEGORY="utilities"
6 SHORT_DESC="X11 server resource usage monitor."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.freedesktop.org/wiki/Software/xrestop/"
11 WGET_URL="http://downloads.yoctoproject.org/releases/xrestop/$TARBALL"
13 DEPENDS="ncurses xorg-libXres libtinfo"
14 BUILD_DEPENDS="ncurses-dev xorg-libXres-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
20 ./configure --prefix=/usr
21 make
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }