wok annotate xorg-xbacklight/receipt @ rev 15898

Up: cookutils (3.2)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 12 23:28:09 2014 +0100 (2014-02-12)
parents c514cc4854d8
children 4d171940f045
rev   line source
jozee@3024 1 # SliTaz package receipt.
jozee@3024 2
jozee@3024 3 PACKAGE="xorg-xbacklight"
slaxemulator@7670 4 VERSION="1.1.2"
jozee@3024 5 CATEGORY="x-window"
jozee@3024 6 SHORT_DESC="utility for x-server to set the backlight level using the RandR"
jozee@3024 7 MAINTAINER="jozee@slitaz.org"
pascal@15579 8 LICENSE="MIT"
jozee@3024 9 SOURCE="xbacklight"
jozee@3024 10 TARBALL="$SOURCE-$VERSION.tar.bz2"
jozee@3024 11 WEB_SITE="http://xorg.freedesktop.org/"
jozee@3024 12 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
jozee@3024 13 TAGS="utility xorg power backlight"
jozee@3024 14
pascal@15579 15 DEPENDS="xorg-libXrandr"
pascal@15579 16 BUILD_DEPENDS="xorg-libXrandr-dev"
pascal@15579 17
jozee@3024 18 # Rules to configure and make the package.ls sr
jozee@3024 19 compile_rules()
jozee@3024 20 {
jozee@3024 21 cd $src
jozee@3024 22 ./configure \
jozee@3024 23 --prefix=/usr \
jozee@3024 24 --mandir=/usr/share/man \
jozee@3024 25 $CONFIGURE_ARGS &&
jozee@3024 26 make &&
pascal@15579 27 make DESTDIR=$DESTDIR install
jozee@3024 28 }
jozee@3024 29
jozee@3024 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@3024 31 genpkg_rules()
jozee@3024 32 {
jozee@3024 33 mkdir -p $fs/usr
pascal@15579 34 cp -a $install/usr/bin $fs/usr
jozee@3024 35 }