wok-next view mesa/receipt @ rev 12591

gtkmm: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 28 22:27:36 2012 +0200 (2012-04-28)
parents 8e4c74abdf74
children d56a83bbe31d
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 #--enable-gallium-nouveau
27 ./configure \
28 --prefix=/usr \
29 --with-x \
30 --enable-motif \
31 --enable-gallium-radeon \
32 --enable-xcb \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
43 # DRI drivers are include in the package mesa-dri-*
44 #cp -a $_pkg/usr/lib/dri $fs/usr/lib
46 # libGLU is included in the package libglu-mesa
47 rm -r -f $fs/usr/lib/libGLU*
49 #libGLw is included in the package libglw-mesa
50 rm -r -f $fs/usr/lib/libGLw*
52 #libEGL is included in the package libegl-mesa
53 rm -r -f $fs/usr/lib/libEGL*
54 }