wok-next annotate mesa/receipt @ rev 3855

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