wok annotate xorg-xbacklight/receipt @ rev 24656
updated iaxmodem (1.3.0 -> 1.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:18:43 2022 +0100 (2022-03-11) |
parents | 4d171940f045 |
children |
rev | line source |
---|---|
jozee@3024 | 1 # SliTaz package receipt. |
jozee@3024 | 2 |
jozee@3024 | 3 PACKAGE="xorg-xbacklight" |
Hans-G?nter@22248 | 4 VERSION="1.2.3" |
jozee@3024 | 5 CATEGORY="x-window" |
Hans-G?nter@22248 | 6 TAGS="utility xorg power backlight" |
Hans-G?nter@22248 | 7 SHORT_DESC="Utility for x-server to set the backlight level using the RandR." |
jozee@3024 | 8 MAINTAINER="jozee@slitaz.org" |
pascal@15579 | 9 LICENSE="MIT" |
Hans-G?nter@22248 | 10 WEB_SITE="https://www.x.org/wiki/" |
Hans-G?nter@22248 | 11 |
jozee@3024 | 12 SOURCE="xbacklight" |
jozee@3024 | 13 TARBALL="$SOURCE-$VERSION.tar.bz2" |
Hans-G?nter@22248 | 14 WGET_URL="$XORG_MIRROR/app/$TARBALL" |
jozee@3024 | 15 |
pascal@15579 | 16 DEPENDS="xorg-libXrandr" |
Hans-G?nter@22248 | 17 BUILD_DEPENDS="libxcb-dev xcb-util-dev xorg-libXrandr-dev" |
pascal@15579 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
Hans-G?nter@22248 | 25 # Rules to configure and make the package. |
jozee@3024 | 26 compile_rules() |
jozee@3024 | 27 { |
Hans-G?nter@22248 | 28 ./configure \ |
Hans-G?nter@22248 | 29 --prefix=/usr \ |
Hans-G?nter@22248 | 30 --mandir=/usr/share/man \ |
jozee@3024 | 31 $CONFIGURE_ARGS && |
jozee@3024 | 32 make && |
pascal@15579 | 33 make DESTDIR=$DESTDIR install |
jozee@3024 | 34 } |
jozee@3024 | 35 |
jozee@3024 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@3024 | 37 genpkg_rules() |
jozee@3024 | 38 { |
jozee@3024 | 39 mkdir -p $fs/usr |
pascal@15579 | 40 cp -a $install/usr/bin $fs/usr |
jozee@3024 | 41 } |