wok rev 3695

Upgrade: mesa (7.4.1 to 7.4.4)
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jul 16 11:10:09 2009 +0000 (2009-07-16)
parents 702cfa82af35
children 2db429fb192c
files libglu-mesa/receipt libglw-mesa/receipt mesa-dev/receipt mesa/receipt
line diff
     1.1 --- a/libglu-mesa/receipt	Thu Jul 16 09:41:09 2009 +0000
     1.2 +++ b/libglu-mesa/receipt	Thu Jul 16 11:10:09 2009 +0000
     1.3 @@ -1,13 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libglu-mesa"
     1.7 -VERSION="7.4.1"
     1.8 +VERSION="7.4.4"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="OpenGL utility library"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  WEB_SITE="http://www.mesa3d.org/"
    1.13  WANTED="mesa"
    1.14 -DEPENDS="libgl xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext"
    1.15 +DEPENDS="glibc-base gcc-lib-base libgl"
    1.16  PROVIDE="libglu"
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libglw-mesa/receipt	Thu Jul 16 11:10:09 2009 +0000
     2.3 @@ -0,0 +1,19 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libglw-mesa"
     2.7 +VERSION="7.4.4"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="OpenGL widget library"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +WEB_SITE="http://www.mesa3d.org/"
    2.12 +WANTED="mesa"
    2.13 +DEPENDS="glibc-base libuuid zlib freetype lesstif libgl \
    2.14 +xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt"
    2.15 +PROVIDE="libglw"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib
    2.21 +	cp -a $_pkg/usr/lib/libGLw* $fs/usr/lib
    2.22 +}
     3.1 --- a/mesa-dev/receipt	Thu Jul 16 09:41:09 2009 +0000
     3.2 +++ b/mesa-dev/receipt	Thu Jul 16 11:10:09 2009 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="mesa-dev"
     3.7 -VERSION="7.4.1"
     3.8 +VERSION="7.4.4"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="3D Graphics Library dev files."
    3.11  MAINTAINER="pascal.bellard@slitaz.org"
     4.1 --- a/mesa/receipt	Thu Jul 16 09:41:09 2009 +0000
     4.2 +++ b/mesa/receipt	Thu Jul 16 11:10:09 2009 +0000
     4.3 @@ -1,25 +1,34 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="mesa"
     4.7 -VERSION="7.4.1"
     4.8 +VERSION="7.4.4"
     4.9  CATEGORY="misc"
    4.10 -SHORT_DESC="3D Graphics Library."
    4.11 +SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
    4.12  MAINTAINER="pascal.bellard@slitaz.org"
    4.13 -DEPENDS="xorg libdrm xorg-libXxf86vm"
    4.14 -BUILD_DEPENDS="xorg-dev xorg-xextproto libdrm-dev xorg-libXxf86vm-dev xorg-dri2proto libdrm"
    4.15 +DEPENDS="glibc-base expat libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
    4.16 +xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm"
    4.17 +BUILD_DEPENDS="slitaz-toolchain expat-dev lesstif lesstif-dev libdrm libdrm-dev \
    4.18 +xorg-dri2proto xorg-glproto xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
    4.19 +xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
    4.20 +xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto"
    4.21  SOURCE="Mesa"
    4.22  TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
    4.23  WEB_SITE="http://www.mesa3d.org/"
    4.24  WGET_URL="$SF_MIRROR/mesa3d/$TARBALL"
    4.25 -PROVIDE="libgl libglu"
    4.26 +PROVIDE="libgl"
    4.27  
    4.28  # Rules to configure and make the package.
    4.29  compile_rules()
    4.30 -{ 
    4.31 +{
    4.32  	ln -s $src $PACKAGE-$VERSION 2>/dev/null
    4.33  	cd $src
    4.34  	sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
    4.35 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    4.36 +	./configure \
    4.37 +		--prefix=/usr \
    4.38 +		--with-x \
    4.39 +		--enable-gl-osmesa \
    4.40 +		--enable-motif \
    4.41 +		$CONFIGURE_ARGS &&
    4.42  	make &&
    4.43  	make DESTDIR=$PWD/_pkg install
    4.44  }
    4.45 @@ -30,4 +39,10 @@
    4.46  	mkdir -p $fs/usr/lib
    4.47  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    4.48  	cp -a $_pkg/usr/lib/dri $fs/usr/lib
    4.49 +	
    4.50 +	# libGLU is included in the package libglu-mesa
    4.51 +	rm -r -f $fs/usr/lib/libGLU*
    4.52 +	
    4.53 +	#libGLw is included in the package libglw-mesa
    4.54 +	rm -r -f $fs/usr/lib/libGLw*
    4.55  }