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

Up: edbus (1.7.8)
author Dominique Corbex <domcox@slitaz.org>
date Thu Aug 08 19:15:48 2013 +0200 (2013-08-08)
parents 78230e8a1430
children 64a50efe0309
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 LICENSE="MIT"
9 SUGGESTED="nvidia"
10 SOURCE="Mesa"
11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mesa3d.org/"
13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
14 PROVIDE="libgl"
16 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev"
17 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
18 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
19 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
20 xorg-server-dev udev-dev file libdrm-nouveau llvm libtool automake autoconf"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
26 ./autogen.sh \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 # libGLU is included in the package libglu-mesa
39 rm -r -f $fs/usr/lib/libGLU*
41 #libGLw is included in the package libglw-mesa
42 rm -r -f $fs/usr/lib/libGLw*
44 #libEGL is included in the package libegl-mesa
45 rm -r -f $fs/usr/lib/libEGL*
46 }