wok view xorg-xbacklight/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents a46c5f38bffe
children eb8067417980
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xbacklight"
4 VERSION="1.1.2"
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"
11 BUILD_DEPENDS="xorg-libXrandr-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 }