wok-current view xorg-xf86-video-ati/receipt @ rev 25590

Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author Stanislas Leduc <shann@slitaz.org>
date Thu Aug 24 14:03:59 2023 +0000 (16 months ago)
parents 814c58f64f83
children 3ad63c8fc2f9
line source
1 # SliTaz package receipt.
3 PACKAGE="xorg-xf86-video-ati"
4 VERSION="7.7.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xorg server ATI driver."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 SOURCE="xf86-video-ati"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.x.org/"
12 WGET_URL="$XORG_MIRROR/driver/$TARBALL"
13 TAGS="xorg display"
15 DEPENDS="xorg-server mesa-dri-ati"
16 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev xorg-xf86driproto"
18 MODS='/usr/lib/X11/modules'
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --mandir=/usr/share/man \
32 --localstatedir=/var \
33 --with-xorg-module-dir=$MODS \
34 --disable-glamor \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p ${fs}${MODS}/drivers
43 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
44 }