wok annotate xorg-xbacklight/receipt @ rev 12501
Up: xorg-libpciaccess (0.13.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Apr 24 18:46:01 2012 +0200 (2012-04-24) |
parents | a46c5f38bffe |
children | eb8067417980 |
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" |
jozee@3024 | 8 SOURCE="xbacklight" |
jozee@3024 | 9 TARBALL="$SOURCE-$VERSION.tar.bz2" |
slaxemulator@8029 | 10 DEPENDS="xorg-libXrandr" |
slaxemulator@8029 | 11 BUILD_DEPENDS="xorg-libXrandr-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 |