wok-current view mesa/receipt @ rev 9798
udev-light: fix stuff path (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 13:48:00 2011 +0200 (2011-05-14) |
parents | 1a1747f915cc |
children | 3b75bb1bb79f |
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 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"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ln -s $src $PACKAGE-$VERSION 2>/dev/null
27 cd $src
28 ./configure \
29 --prefix=/usr \
30 --with-x \
31 --enable-motif \
32 --enable-gallium-radeon \
33 --enable-gallium-nouveau \
34 --enable-xcb \
35 $CONFIGURE_ARGS &&
36 make -j 4 &&
37 make DESTDIR=$PWD/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
46 # DRI drivers are include in the package mesa-dri-*
47 #cp -a $_pkg/usr/lib/dri $fs/usr/lib
49 # libGLU is included in the package libglu-mesa
50 rm -r -f $fs/usr/lib/libGLU*
52 #libGLw is included in the package libglw-mesa
53 rm -r -f $fs/usr/lib/libGLw*
55 #libEGL is included in the package libegl-mesa
56 rm -r -f $fs/usr/lib/libEGL*
57 }