wok-next diff mesa/receipt @ rev 4164
Add: xfce4-slitaz-config
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Sep 22 15:12:46 2009 +0000 (2009-09-22) |
parents | 9c9db577a8b4 |
children | 4cfce81a4a6b |
line diff
1.1 --- a/mesa/receipt Wed May 13 00:00:42 2009 +0200 1.2 +++ b/mesa/receipt Tue Sep 22 15:12:46 2009 +0000 1.3 @@ -1,25 +1,34 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mesa" 1.7 -VERSION="7.4.1" 1.8 +VERSION="7.4.4" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="3D Graphics Library." 1.11 +SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 -DEPENDS="xorg libdrm xorg-libXxf86vm" 1.14 -BUILD_DEPENDS="xorg-dev xorg-xextproto libdrm-dev xorg-libXxf86vm-dev xorg-dri2proto libdrm" 1.15 +DEPENDS="glibc-base expat libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ 1.16 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm" 1.17 +BUILD_DEPENDS="slitaz-toolchain expat-dev lesstif lesstif-dev libdrm libdrm-dev \ 1.18 +xorg-dri2proto xorg-glproto xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ 1.19 +xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ 1.20 +xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto" 1.21 SOURCE="Mesa" 1.22 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" 1.23 WEB_SITE="http://www.mesa3d.org/" 1.24 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL" 1.25 -PROVIDE="libgl libglu" 1.26 +PROVIDE="libgl" 1.27 1.28 # Rules to configure and make the package. 1.29 compile_rules() 1.30 -{ 1.31 +{ 1.32 ln -s $src $PACKAGE-$VERSION 2>/dev/null 1.33 cd $src 1.34 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure && 1.35 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.36 + ./configure \ 1.37 + --prefix=/usr \ 1.38 + --with-x \ 1.39 + --enable-gl-osmesa \ 1.40 + --enable-motif \ 1.41 + $CONFIGURE_ARGS && 1.42 make && 1.43 make DESTDIR=$PWD/_pkg install 1.44 } 1.45 @@ -30,4 +39,10 @@ 1.46 mkdir -p $fs/usr/lib 1.47 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.48 cp -a $_pkg/usr/lib/dri $fs/usr/lib 1.49 + 1.50 + # libGLU is included in the package libglu-mesa 1.51 + rm -r -f $fs/usr/lib/libGLU* 1.52 + 1.53 + #libGLw is included in the package libglw-mesa 1.54 + rm -r -f $fs/usr/lib/libGLw* 1.55 }