wok view xorg-xload/receipt @ rev 130

Fix slitaz-base-files (gen_pkg)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 06 21:08:42 2008 +0100 (2008-01-06)
parents
children c1ff74d9b6f4
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xload"
4 VERSION="1.0.2"
5 CATEGORY="x-window"
6 SHORT_DESC="X app to show system resources usage."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg"
9 SOURCE="xload"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.x.org/"
12 WGET_URL="$XORG_MIRROR/app/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 strip -s $fs/usr/bin/*
30 }