wok-6.x view xrestop/receipt @ rev 24415
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 18:04:02 2022 +0000 (2022-02-10) |
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 }