wok-6.x view mesa/receipt @ rev 13786

Up mesa (9.0.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 04 21:06:24 2013 +0100 (2013-01-04)
parents 85016499ad8c
children 78230e8a1430
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="9.0.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 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 }