wok-next view xorg-xbacklight/receipt @ rev 3533

merge 3532:012d72b2b629 , 3530:0109c31e8835
author root@bt-199-036.bta.net.cn
date Mon Jun 22 17:30:40 2009 +0800 (2009-06-22)
parents
children 413b0174114a
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xbacklight"
4 VERSION="1.1"
5 CATEGORY="x-window"
6 SHORT_DESC="utility for x-server to set the backlight level using the RandR"
7 MAINTAINER="jozee@slitaz.org"
8 SOURCE="xbacklight"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 DEPENDS=""
11 BUILD_DEPENDS="xorg-dev"
12 WEB_SITE="http://xorg.freedesktop.org/"
13 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
14 TAGS="utility xorg power backlight"
16 # Rules to configure and make the package.ls sr
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 }