wok diff xorg-xf86-video-ati/receipt @ rev 13272

get-wfica: update (thanks Carl)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 22 18:21:21 2012 +0200 (2012-08-22)
parents 76e20a3a9bdb
children 5f4f33f36a0f
line diff
     1.1 --- a/xorg-xf86-video-ati/receipt	Tue Mar 22 20:14:14 2011 +0000
     1.2 +++ b/xorg-xf86-video-ati/receipt	Wed Aug 22 18:21:21 2012 +0200
     1.3 @@ -1,44 +1,40 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="xorg-xf86-video-ati"
     1.7 -VERSION="6.14.1"
     1.8 +VERSION="6.14.4"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="Xorg server ATI driver."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -DEPENDS="xorg-server mesa-dri-ati"
    1.13 -BUILD_DEPENDS="xorg-server-dev"
    1.14  SOURCE="xf86-video-ati"
    1.15  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://www.x.org/"
    1.17 -#WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.18 -WGET_URL="http://xorg.freedesktop.org/releases/individual/driver/$TARBALL"
    1.19 +WGET_URL="$XORG_MIRROR/driver/$TARBALL"
    1.20  TAGS="xorg display"
    1.21  
    1.22 +DEPENDS="xorg-server mesa-dri-ati"
    1.23 +BUILD_DEPENDS="xorg-server-dev"
    1.24 +
    1.25 +MODS='/usr/lib/X11/modules'
    1.26 +
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -    cd $src
    1.31 -    ./configure \
    1.32 -    	--prefix=/usr \
    1.33 -    	--sysconfdir=/etc \
    1.34 -    	--mandir=/usr/share/man \
    1.35 -    	--localstatedir=/var \
    1.36 -    	--with-xorg-module-dir=/usr/lib/X11/modules \
    1.37 -    	--enable-dri \
    1.38 -    	$CONFIGURE_ARGS &&
    1.39 -    make &&
    1.40 -    make DESTDIR=$PWD/_pkg install
    1.41 +	cd $src
    1.42 +	./configure \
    1.43 +		--sysconfdir=/etc \
    1.44 +		--mandir=/usr/share/man \
    1.45 +		--localstatedir=/var \
    1.46 +		--with-xorg-module-dir=$MODS \
    1.47 +		--enable-dri \
    1.48 +		$CONFIGURE_ARGS &&
    1.49 +	make && make install
    1.50  }
    1.51  
    1.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.53  genpkg_rules()
    1.54  {
    1.55 -	mkdir -p $fs/usr/lib/X11/modules/drivers/ \
    1.56 -			 $fs/usr/lib/X11/modules/multimedia/
    1.57 -    cp -a $_pkg/usr/lib/X11/modules/drivers/*.so \
    1.58 -    	$fs/usr/lib/X11/modules/drivers/
    1.59 -     cp -a $_pkg/usr/lib/X11/modules/multimedia/*.so \
    1.60 -    	$fs/usr/lib/X11/modules/multimedia/
    1.61 -   
    1.62 +	mkdir -p ${fs}${MODS}/drivers ${fs}${MODS}/multimedia
    1.63 +	cp -a ${install}${MODS}/drivers/*.so ${fs}${MODS}/drivers/
    1.64 +	cp -a ${install}${MODS}/multimedia/*.so ${fs}${MODS}/multimedia/
    1.65  }
    1.66