wok-current annotate mesa/receipt @ rev 14407

edje-dev: update deps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 18:27:41 2013 +0200 (2013-04-23)
parents 85016499ad8c
children 78230e8a1430
rev   line source
pascal@592 1 # SliTaz package receipt.
pascal@592 2
pascal@592 3 PACKAGE="mesa"
pascal@13786 4 VERSION="9.0.1"
pankso@4421 5 CATEGORY="x-window"
rcx@3695 6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
pascal@592 7 MAINTAINER="pascal.bellard@slitaz.org"
jozee@5018 8 SUGGESTED="nvidia"
pascal@592 9 SOURCE="Mesa"
pascal@592 10 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
pascal@592 11 WEB_SITE="http://www.mesa3d.org/"
pankso@5298 12 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
rcx@3695 13 PROVIDE="libgl"
pascal@592 14
pankso@12690 15 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev"
pankso@12690 16 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
pankso@9735 17 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
pankso@12690 18 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
pascal@13786 19 xorg-server-dev udev-dev file libdrm-nouveau llvm libtool"
pankso@9735 20
pascal@592 21 # Rules to configure and make the package.
pascal@592 22 compile_rules()
rcx@3695 23 {
pascal@592 24 cd $src
rcx@3695 25 ./configure \
rcx@3695 26 --prefix=/usr \
rcx@3695 27 $CONFIGURE_ARGS &&
pankso@12548 28 make $MAKEFLAGS && make install
pascal@592 29 }
pascal@592 30
pascal@592 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@592 32 genpkg_rules()
pascal@592 33 {
pankso@3007 34 mkdir -p $fs/usr/lib
pankso@12690 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@4170 36
rcx@3695 37 # libGLU is included in the package libglu-mesa
rcx@3695 38 rm -r -f $fs/usr/lib/libGLU*
pankso@4170 39
rcx@3695 40 #libGLw is included in the package libglw-mesa
rcx@3695 41 rm -r -f $fs/usr/lib/libGLw*
pankso@12548 42
jozee@5537 43 #libEGL is included in the package libegl-mesa
jozee@5537 44 rm -r -f $fs/usr/lib/libEGL*
pascal@592 45 }