wok view xorg-xbacklight/receipt @ rev 19899
linld: fix seekset link error
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 08 12:48:12 2017 +0200 (2017-04-08) |
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 }