wok-current view xorg-xbacklight/receipt @ rev 22367

fix locale-* post_remove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 22 12:30:25 2019 +0100 (2019-11-22)
parents eb8067417980
children 5d79829fa876
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xbacklight"
4 VERSION="1.2.3"
5 CATEGORY="x-window"
6 TAGS="utility xorg power backlight"
7 SHORT_DESC="Utility for x-server to set the backlight level using the RandR."
8 MAINTAINER="jozee@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="https://www.x.org/wiki/"
12 SOURCE="xbacklight"
13 TARBALL="$SOURCE-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/app/$TARBALL"
16 DEPENDS="xorg-libXrandr"
17 BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-libXrandr-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
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 }