wok view xorg-xbacklight/receipt @ rev 19515

linld: multi initrd support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 22 21:19:01 2016 +0100 (2016-11-22)
parents c514cc4854d8
children 4d171940f045
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 LICENSE="MIT"
9 SOURCE="xbacklight"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://xorg.freedesktop.org/"
12 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
13 TAGS="utility xorg power backlight"
15 DEPENDS="xorg-libXrandr"
16 BUILD_DEPENDS="xorg-libXrandr-dev"
18 # Rules to configure and make the package.ls sr
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }