wok view mesa/receipt @ rev 8854

Up: cherokee to 1.2.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 02:47:43 2011 +0000 (2011-02-25)
parents 0b71563fb008
children 1a1747f915cc
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="7.10"
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 }