wok view xorg-xf86-video-radeonhd/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 814c58f64f83 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-radeonhd"
4 VERSION="1.3.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server ATI Radeon HD driver."
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-radeonhd"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
14 DEPENDS="xorg xorg-server"
15 BUILD_DEPENDS="xorg-server-dev xorg-libpciaccess-dev xorg-xproto xorg-fontsproto"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --mandir=/usr/share/man \
31 --localstatedir=/var \
32 --with-xorg-module-dir=/usr/lib/X11/modules \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib/X11/modules/drivers/
42 cp -a $install/usr/lib/X11/modules/drivers/*.so \
43 $fs/usr/lib/X11/modules/drivers/
44 }