wok view mesa/receipt @ rev 3711
Up: pidgin-facebookchat (1.60)
author | Mallory Mollo <mallory@sweetpeople.org> |
---|---|
date | Tue Jul 21 17:44:40 2009 +0200 (2009-07-21) |
parents | 9c9db577a8b4 |
children | 4cfce81a4a6b |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="7.4.4"
5 CATEGORY="misc"
6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="glibc-base expat libdrm xorg-libX11 xorg-libXau xorg-libXdamage \
9 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm"
10 BUILD_DEPENDS="slitaz-toolchain expat-dev lesstif lesstif-dev libdrm libdrm-dev \
11 xorg-dri2proto xorg-glproto xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \
12 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \
13 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto"
14 SOURCE="Mesa"
15 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
16 WEB_SITE="http://www.mesa3d.org/"
17 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL"
18 PROVIDE="libgl"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ln -s $src $PACKAGE-$VERSION 2>/dev/null
24 cd $src
25 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
26 ./configure \
27 --prefix=/usr \
28 --with-x \
29 --enable-gl-osmesa \
30 --enable-motif \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
41 cp -a $_pkg/usr/lib/dri $fs/usr/lib
43 # libGLU is included in the package libglu-mesa
44 rm -r -f $fs/usr/lib/libGLU*
46 #libGLw is included in the package libglw-mesa
47 rm -r -f $fs/usr/lib/libGLw*
48 }