wok-6.x view mesa/receipt @ rev 11627

Up xine-ui (0.99.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 30 22:43:15 2012 +0100 (2012-01-30)
parents 3b75bb1bb79f
children ad4f8bdcc3d6
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="7.10.2"
5 CATEGORY="x-window"
6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SUGGESTED="nvidia"
9 SOURCE="Mesa"
10 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mesa3d.org/"
12 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
13 PROVIDE="libgl"
15 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt"
16 BUILD_DEPENDS="$DEPENDS expat-dev libdrm-dev xorg-libXdamage-dev \
17 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
18 pkg-config talloc xorg-makedepend lesstif libxml2-python xorg-imake \
19 lesstif-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 patch -Np1 -i $stuff/nouveau-fix-header.patch
26 ./configure \
27 --prefix=/usr \
28 --with-x \
29 --enable-motif \
30 --enable-gallium-radeon \
31 --enable-gallium-nouveau \
32 --enable-xcb \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
44 # DRI drivers are include in the package mesa-dri-*
45 #cp -a $_pkg/usr/lib/dri $fs/usr/lib
47 # libGLU is included in the package libglu-mesa
48 rm -r -f $fs/usr/lib/libGLU*
50 #libGLw is included in the package libglw-mesa
51 rm -r -f $fs/usr/lib/libGLw*
53 #libEGL is included in the package libegl-mesa
54 rm -r -f $fs/usr/lib/libEGL*
55 }