wok-next view mesa/receipt @ rev 14726
Up mesa (9.1.3), intel haswell support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 13 09:32:02 2013 +0200 (2013-06-13) |
parents | 37eb1b42e1fe |
children | ac843e45fd3c |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="9.1.3"
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 libdrm-nouveau llvm libtool"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
25 ./configure \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 # libGLU is included in the package libglu-mesa
38 rm -r -f $fs/usr/lib/libGLU*
40 #libGLw is included in the package libglw-mesa
41 rm -r -f $fs/usr/lib/libGLw*
43 #libEGL is included in the package libegl-mesa
44 rm -r -f $fs/usr/lib/libEGL*
45 }