wok-6.x annotate radeontool/receipt @ rev 25344
updated tahoe-lafs (1.13.0 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 25 07:43:39 2022 +0100 (2022-07-25) |
parents | 20661c276bcf |
children |
rev | line source |
---|---|
pascal@17694 | 1 # SliTaz package receipt. |
pascal@17694 | 2 |
pascal@17694 | 3 PACKAGE="radeontool" |
pascal@17694 | 4 VERSION="1.6.3" |
pascal@17694 | 5 CATEGORY="system-tools" |
pascal@17694 | 6 SHORT_DESC="Utility to control ATI Radeon backlight functions on laptops." |
pascal@17694 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17694 | 8 LICENSE="zlib/libpng" |
pascal@17694 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20672 | 10 WEB_SITE="https://cgit.freedesktop.org/~airlied/radeontool/" |
pascal@20682 | 11 WGET_URL="https://people.freedesktop.org/~airlied/$PACKAGE/$TARBALL" |
pascal@17694 | 12 |
pascal@17694 | 13 DEPENDS="xorg-libpciaccess" |
pascal@17694 | 14 BUILD_DEPENDS="pkg-config xorg-libpciaccess-dev" |
pascal@17694 | 15 |
pascal@24459 | 16 # What is the latest version available today? |
pascal@24459 | 17 current_version() |
pascal@24459 | 18 { |
pascal@24459 | 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24459 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24459 | 21 } |
pascal@24459 | 22 |
pascal@17694 | 23 # Rules to configure and make the package. |
pascal@17694 | 24 compile_rules() |
pascal@17694 | 25 { |
pascal@17694 | 26 ./configure --prefix=/usr \ |
pascal@17694 | 27 $CONFIGURE_ARGS && |
pascal@17694 | 28 make && |
pascal@17694 | 29 make DESTDIR=$DESTDIR install |
pascal@17694 | 30 } |
pascal@17694 | 31 |
pascal@17694 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17694 | 33 genpkg_rules() |
pascal@17694 | 34 { |
pascal@17694 | 35 cp -a $install/* $fs/ |
pascal@17694 | 36 } |