wok-6.x diff catalyst/receipt @ rev 5614
catalyst: fix compile with 2.6.33.4 and WGET_URL
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Thu May 20 10:43:52 2010 -0400 (2010-05-20) |
parents | f027a129902c |
children | 13d20e960b3d |
line diff
1.1 --- a/catalyst/receipt Tue May 18 08:29:19 2010 -0400 1.2 +++ b/catalyst/receipt Thu May 20 10:43:52 2010 -0400 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 .