wok-next annotate xorg-xbacklight/receipt @ rev 4629
Up icmptx (0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 21 09:13:25 2009 +0100 (2009-12-21) |
parents | |
children | 413b0174114a |
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" |
jozee@3024 | 10 DEPENDS="" |
jozee@3024 | 11 BUILD_DEPENDS="xorg-dev" |
jozee@3024 | 12 WEB_SITE="http://xorg.freedesktop.org/" |
jozee@3024 | 13 WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL" |
jozee@3024 | 14 TAGS="utility xorg power backlight" |
jozee@3024 | 15 |
jozee@3024 | 16 # Rules to configure and make the package.ls sr |
jozee@3024 | 17 compile_rules() |
jozee@3024 | 18 { |
jozee@3024 | 19 cd $src |
jozee@3024 | 20 ./configure \ |
jozee@3024 | 21 --prefix=/usr \ |
jozee@3024 | 22 --mandir=/usr/share/man \ |
jozee@3024 | 23 $CONFIGURE_ARGS && |
jozee@3024 | 24 make && |
jozee@3024 | 25 make DESTDIR=$PWD/_pkg install |
jozee@3024 | 26 } |
jozee@3024 | 27 |
jozee@3024 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3024 | 29 genpkg_rules() |
jozee@3024 | 30 { |
jozee@3024 | 31 mkdir -p $fs/usr |
jozee@3024 | 32 cp -a $_pkg/usr/bin $fs/usr |
jozee@3024 | 33 } |
jozee@3024 | 34 |