wok-current view xorg-xload/receipt @ rev 7666

Moved Module.sysvers to Module.sysvers-modules. This is cause i think making linux-without-modules bzImage is was change that file. Removed /usr/src/linux in pre_remove function in linux-module-headers. Added /usr/src/linux soft link to post_install in linux-module-headers.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 12:59:54 2010 +0000 (2010-12-16)
parents c1ff74d9b6f4
children c514cc4854d8
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xload"
4 VERSION="1.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="X app to show system resources usage."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="xorg"
9 BUILD_DEPENDS="xorg-libXaw-dev"
10 SOURCE="xload"
11 TARBALL="$SOURCE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.x.org/"
13 WGET_URL="$XORG_MIRROR/app/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 strip -s $fs/usr/bin/*
31 }