wok annotate xorg-xload/receipt @ rev 7941
slitaz-mercurial-style: add missing icon and some fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 12 00:31:56 2011 +0100 (2011-01-12) |
parents | c1ff74d9b6f4 |
children | c514cc4854d8 |
rev | line source |
---|---|
pankso@20 | 1 # SliTaz package receipt. |
pankso@20 | 2 |
pankso@20 | 3 PACKAGE="xorg-xload" |
gokhlayeh@6993 | 4 VERSION="1.1.0" |
pankso@20 | 5 CATEGORY="x-window" |
pankso@20 | 6 SHORT_DESC="X app to show system resources usage." |
pankso@20 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@20 | 8 DEPENDS="xorg" |
pascal@1465 | 9 BUILD_DEPENDS="xorg-libXaw-dev" |
pankso@20 | 10 SOURCE="xload" |
gokhlayeh@6993 | 11 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@20 | 12 WEB_SITE="http://www.x.org/" |
pankso@20 | 13 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
pankso@20 | 14 |
pankso@20 | 15 # Rules to configure and make the package. |
pankso@20 | 16 compile_rules() |
pankso@20 | 17 { |
pankso@20 | 18 cd $src |
pankso@20 | 19 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pascal@1465 | 20 $CONFIGURE_ARGS && |
pascal@1465 | 21 make && |
pankso@20 | 22 make DESTDIR=$PWD/_pkg install |
pankso@20 | 23 } |
pankso@20 | 24 |
pankso@20 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@20 | 26 genpkg_rules() |
pankso@20 | 27 { |
pankso@20 | 28 mkdir -p $fs/usr |
pankso@20 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@20 | 30 strip -s $fs/usr/bin/* |
pankso@20 | 31 } |