wok-current view xrestop/receipt @ rev 23977
Up slitaz-base-files (343), slitaz-configs (318), tazinst (108), tazlito (529)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 31 16:33:00 2020 +0000 (2020-10-31) |
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 }