wok view mesa/receipt @ rev 8079
Up: postfix to 2.8.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 21 21:01:14 2011 +0000 (2011-01-21) |
parents | d7c954620e6a |
children | 718b6ab22652 |
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 libxml2 python xorg-makedepend"
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"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ln -s $src $PACKAGE-$VERSION 2>/dev/null
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 --with-x \
28 --enable-motif \
29 --enable-gallium-radeon \
30 --enable-gallium-nouveau \
31 --enable-xcb \
32 $CONFIGURE_ARGS &&
33 make -j 4 &&
34 make DESTDIR=$PWD/_pkg 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 }