wok annotate xorg-xbacklight/receipt @ rev 5019
[a-z]*-update DEPENDS: nvidia is hardware-specific and should be removed or optional
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 01 09:06:07 2010 +0000 (2010-03-01) |
parents | 3ffef2e6351e |
children | 07ae722ec64e |
rev | line source |
---|---|
jozee@3024 | 1 # SliTaz package receipt. |
jozee@3024 | 2 |
jozee@3024 | 3 PACKAGE="xorg-xbacklight" |
jozee@3024 | 4 VERSION="1.1" |
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" |
jozee@3024 | 8 SOURCE="xbacklight" |
jozee@3024 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@5008 | 10 DEPENDS="xorg-libXrandr xorg-libXrender xorg-libX11 xorg-libXext xorg-libXau \ |
pascal@5008 | 11 xorg-libXdmcp" |
jozee@3024 | 12 BUILD_DEPENDS="xorg-dev" |
jozee@3024 | 13 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3024 | 14 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3024 | 15 TAGS="utility xorg power backlight" |
jozee@3024 | 16 |
jozee@3024 | 17 # Rules to configure and make the package.ls sr |
jozee@3024 | 18 compile_rules() |
jozee@3024 | 19 { |
jozee@3024 | 20 cd $src |
jozee@3024 | 21 ./configure \ |
jozee@3024 | 22 --prefix=/usr \ |
jozee@3024 | 23 --mandir=/usr/share/man \ |
jozee@3024 | 24 $CONFIGURE_ARGS && |
jozee@3024 | 25 make && |
jozee@3024 | 26 make DESTDIR=$PWD/_pkg install |
jozee@3024 | 27 } |
jozee@3024 | 28 |
jozee@3024 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3024 | 30 genpkg_rules() |
jozee@3024 | 31 { |
jozee@3024 | 32 mkdir -p $fs/usr |
jozee@3024 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@3024 | 34 } |
jozee@3024 | 35 |