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

newt: fix for multiple python versions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 23 15:14:21 2010 +0200 (2010-06-23)
parents 3ffef2e6351e
children 07ae722ec64e
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="xorg-libXrandr xorg-libXrender xorg-libX11 xorg-libXext xorg-libXau \
11 xorg-libXdmcp"
12 BUILD_DEPENDS="xorg-dev"
13 WEB_SITE="http://xorg.freedesktop.org/"
14 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
15 TAGS="utility xorg power backlight"
17 # Rules to configure and make the package.ls sr
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 }