wok-stable rev 3007
Up: mesa (7.4.1) with DRI support
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 22:20:25 2009 +0200 (2009-05-11) |
parents | 67d9e19a0573 |
children | 7551bb908831 |
files | mesa-dev/receipt mesa/receipt |
line diff
1.1 --- a/mesa-dev/receipt Mon May 11 22:18:57 2009 +0200 1.2 +++ b/mesa-dev/receipt Mon May 11 22:20:25 2009 +0200 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mesa-dev" 1.7 -VERSION="7.0.3" 1.8 +VERSION="7.4.1" 1.9 CATEGORY="development" 1.10 SHORT_DESC="3D Graphics Library dev files." 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,7 +11,7 @@ 1.13 # Rules to gen a SliTaz package suitable for Tazpkg. 1.14 genpkg_rules() 1.15 { 1.16 - mkdir -p $fs/usr 1.17 - cp -a $_pkg/usr/local/include $fs/usr 1.18 + mkdir -p $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 } 1.22 -
2.1 --- a/mesa/receipt Mon May 11 22:18:57 2009 +0200 2.2 +++ b/mesa/receipt Mon May 11 22:20:25 2009 +0200 2.3 @@ -1,12 +1,12 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="mesa" 2.7 -VERSION="7.0.3" 2.8 +VERSION="7.4.1" 2.9 CATEGORY="misc" 2.10 SHORT_DESC="3D Graphics Library." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 -DEPENDS="xorg" 2.13 -BUILD_DEPENDS="xorg-dev xorg-xextproto" 2.14 +DEPENDS="xorg libdrm xorg-libXxf86vm" 2.15 +BUILD_DEPENDS="xorg-dev xorg-xextproto libdrm-dev xorg-libXxf86vm-dev" 2.16 SOURCE="Mesa" 2.17 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" 2.18 WEB_SITE="http://www.mesa3d.org/" 2.19 @@ -16,17 +16,23 @@ 2.20 # Rules to configure and make the package. 2.21 compile_rules() 2.22 { 2.23 - ln -s $src $PACKAGE-$VERSION 2.24 + ln -s $src $PACKAGE-$VERSION 2>/dev/null 2.25 cd $src 2.26 - #make realclean 2.27 - make linux-x86 && 2.28 + sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure && 2.29 + ./configure --prefix=/usr $CONFIGURE_ARGS && 2.30 + make && 2.31 make DESTDIR=$PWD/_pkg install 2.32 } 2.33 2.34 # Rules to gen a SliTaz package suitable for Tazpkg. 2.35 genpkg_rules() 2.36 { 2.37 - mkdir -p $fs/usr 2.38 - cp -a $_pkg/usr/local/lib $fs/usr 2.39 + mkdir -p $fs/usr/lib 2.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.41 + cp -a $_pkg/usr/lib/dri $fs/usr/lib 2.42 + # Have all dri modules in splited packages : mesa-dri-i915, etc ? 2.43 + for mod in i810 mach64 swrast tdfx 2.44 + do 2.45 + rm $fs/usr/lib/dri/${mod}_dri.so 2.46 + done 2.47 } 2.48 -