wok-stable view mesa/receipt @ rev 4183
xfce4-session, add xfce4-session-logout workarround + remove docs.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Sep 22 22:46:15 2009 +0000 (2009-09-22) |
parents | f7311b2e6694 |
children | 9560c3fa0ebd |
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="$DEPENDS slitaz-toolchain expat-dev lesstif lesstif-dev 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 xorg-libXxf86vm-dev"
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 }