wok-current view xorg-xbacklight/receipt @ rev 23856
codeblocks: use wxWidgets and gcc49
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Jun 16 23:39:15 2020 -0400 (2020-06-16) |
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 }