wok-next diff catalyst/receipt @ rev 5762

Add exosip
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 05 11:58:10 2010 +0200 (2010-07-05)
parents f027a129902c
children 13d20e960b3d
line diff
     1.1 --- a/catalyst/receipt	Tue May 18 08:29:19 2010 -0400
     1.2 +++ b/catalyst/receipt	Mon Jul 05 11:58:10 2010 +0200
     1.3 @@ -8,7 +8,8 @@
     1.4  WEB_SITE="http://www.ati.amd.com"
     1.5  DEPENDS="xorg-server mesa mesa-dri libdrm linux-drm fontconfig linux-agp xorg-libSM xorg-libXi xorg-libXcursor"
     1.6  BUILD_DEPENDS="linux xorg-server"
     1.7 -TARBALL="ati-driver-installer-$VERSION-x86.x86_64.run"
     1.8 +TARBALL="ati-driver-installer-${VERSION/./-}-x86.x86_64.run"
     1.9 +WGET_URL="http://www2.ati.com/drivers/linux/$TARBALL"
    1.10  TAGS="drivers graphic video"
    1.11  
    1.12  # Rules to configure and make the package.
    1.13 @@ -16,7 +17,7 @@
    1.14  compile_rules() {
    1.15  
    1.16  	KERNEL_VERSION=`grep  ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'`
    1.17 -	WGET_URL="http://www2.ati.com/drivers/linux/$TARBALL"
    1.18 +	
    1.19  	
    1.20  	[ -d $WOK/linux/taz ] || tazwok cook linux
    1.21     
    1.22 @@ -33,6 +34,8 @@
    1.23  	for i in autoconf.h utsrelease.h ; do
    1.24  		grep -rl linux/$i * | xargs sed -i "s|linux/$i|generated/$i|"
    1.25  	done
    1.26 +	cd $src
    1.27 +	patch -Np1 -i ../stuff/$PACKAGE-${KERNEL_VERSION}.patch
    1.28  	cd $src/common/lib/modules/fglrx/build_mod
    1.29  	cp $src/arch/x86/lib/modules/fglrx/build_mod/libfglrx_ip.a.GCC4 . 
    1.30  	cp 2.6.x/Makefile .