wok-next view mesa/receipt @ rev 12690

mesa: enable Xorg, udev, add file to bdeps and include radeon Xorg driver in mesa-dri-ati
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 02 15:03:20 2012 +0200 (2012-05-02)
parents ad4f8bdcc3d6
children 85016499ad8c
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 udev"
16 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
17 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
18 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
19 xorg-server-dev udev-dev file"
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 $install/usr/lib/*.so* $fs/usr/lib
43 # libGLU is included in the package libglu-mesa
44 rm -r -f $fs/usr/lib/libGLU*
46 #libGLw is included in the package libglw-mesa
47 rm -r -f $fs/usr/lib/libGLw*
49 #libEGL is included in the package libegl-mesa
50 rm -r -f $fs/usr/lib/libEGL*
51 }