wok view radeontool/receipt @ rev 25511

memtest: 386 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 17:17:56 2023 +0000 (20 months ago)
parents 20661c276bcf
children ffe3a28f2096
line source
1 # SliTaz package receipt.
3 PACKAGE="radeontool"
4 VERSION="1.6.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utility to control ATI Radeon backlight functions on laptops."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="zlib/libpng"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://cgit.freedesktop.org/~airlied/radeontool/"
11 WGET_URL="https://people.freedesktop.org/~airlied/$PACKAGE/$TARBALL"
13 DEPENDS="xorg-libpciaccess"
14 BUILD_DEPENDS="pkg-config xorg-libpciaccess-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs/
36 }