wok-current view mesa/receipt @ rev 9316
Up openvas-manager (1.0.4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 09:19:41 2011 +0100 (2011-03-18) |
parents | dc188aae7ff1 |
children | cffb5294baec |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="7.10.1"
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 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt"
9 SUGGESTED="nvidia"
10 BUILD_DEPENDS="$DEPENDS expat-dev libdrm-dev xorg-libXdamage-dev \
11 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
12 pkg-config talloc xorg-makedepend lesstif libxml2-python xorg-imake"
13 SOURCE="Mesa"
14 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
15 WEB_SITE="http://www.mesa3d.org/"
16 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
17 PROVIDE="libgl"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ln -s $src $PACKAGE-$VERSION 2>/dev/null
25 cd $src
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 -j 4 &&
35 make DESTDIR=$PWD/_pkg 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 }