wok-6.x annotate xorg-xf86-video-ati/receipt @ rev 25565
Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue May 09 17:24:00 2023 +0000 (18 months ago) |
parents | 814c58f64f83 |
children |
rev | line source |
---|---|
pankso@447 | 1 # SliTaz package receipt. |
pankso@447 | 2 |
pankso@447 | 3 PACKAGE="xorg-xf86-video-ati" |
psychomaniak@19439 | 4 VERSION="7.7.0" |
pankso@447 | 5 CATEGORY="x-window" |
pankso@3016 | 6 SHORT_DESC="Xorg server ATI driver." |
pankso@447 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15579 | 8 LICENSE="MIT" |
pankso@447 | 9 SOURCE="xf86-video-ati" |
gokhlayeh@6993 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20423 | 11 WEB_SITE="https://www.x.org/" |
pankso@12530 | 12 WGET_URL="$XORG_MIRROR/driver/$TARBALL" |
jozee@5592 | 13 TAGS="xorg display" |
pankso@447 | 14 |
pankso@12530 | 15 DEPENDS="xorg-server mesa-dri-ati" |
pascal@19689 | 16 BUILD_DEPENDS="xorg-server-dev libpthread-stubs-dev xorg-xf86driproto" |
pankso@12530 | 17 |
pankso@12530 | 18 MODS='/usr/lib/X11/modules' |
pankso@12530 | 19 |
pascal@24072 | 20 current_version() |
pascal@24072 | 21 { |
pascal@24072 | 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 23 sed "/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 24 } |
pascal@24072 | 25 |
pankso@447 | 26 # Rules to configure and make the package. |
pankso@447 | 27 compile_rules() |
pankso@447 | 28 { |
pankso@12530 | 29 ./configure \ |
pankso@12530 | 30 --sysconfdir=/etc \ |
pankso@12530 | 31 --mandir=/usr/share/man \ |
pankso@12530 | 32 --localstatedir=/var \ |
pankso@12530 | 33 --with-xorg-module-dir=$MODS \ |
psychomaniak@19439 | 34 --disable-glamor \ |
pankso@12530 | 35 $CONFIGURE_ARGS && |
pankso@12530 | 36 make && make install |
pankso@447 | 37 } |
pankso@447 | 38 |
pankso@447 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@447 | 40 genpkg_rules() |
pankso@447 | 41 { |
pascal@14731 | 42 mkdir -p ${fs}${MODS}/drivers |
pankso@12530 | 43 cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/ |
pankso@447 | 44 } |