wok-4.x annotate mesa/receipt @ rev 9151

Add httptunnel.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Mar 07 00:51:20 2011 +0000 (2011-03-07)
parents 0b71563fb008
children 1a1747f915cc
rev   line source
pascal@592 1 # SliTaz package receipt.
pascal@592 2
pascal@592 3 PACKAGE="mesa"
gokhlayeh@8078 4 VERSION="7.10"
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"
gokhlayeh@8078 8 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt"
jozee@5018 9 SUGGESTED="nvidia"
gokhlayeh@8078 10 BUILD_DEPENDS="$DEPENDS expat-dev libdrm-dev xorg-libXdamage-dev \
gokhlayeh@8078 11 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
slaxemulator@8271 12 pkg-config talloc xorg-makedepend lesstif libxml2-python xorg-imake"
pascal@592 13 SOURCE="Mesa"
pascal@592 14 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
pascal@592 15 WEB_SITE="http://www.mesa3d.org/"
pankso@5298 16 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
rcx@3695 17 PROVIDE="libgl"
pascal@592 18
slaxemulator@8081 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
pankso@4421 24
pascal@592 25 cd $src
rcx@3695 26 ./configure \
rcx@3695 27 --prefix=/usr \
rcx@3695 28 --with-x \
rcx@3695 29 --enable-motif \
gokhlayeh@6993 30 --enable-gallium-radeon \
gokhlayeh@6993 31 --enable-gallium-nouveau \
gokhlayeh@6993 32 --enable-xcb \
rcx@3695 33 $CONFIGURE_ARGS &&
pascal@5781 34 make -j 4 &&
gokhlayeh@8078 35 make DESTDIR=$PWD/_pkg install
pascal@592 36 }
pascal@592 37
pascal@592 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@592 39 genpkg_rules()
pascal@592 40 {
pankso@3007 41 mkdir -p $fs/usr/lib
pankso@3007 42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4421 43
pankso@4421 44 # DRI drivers are include in the package mesa-dri-*
pankso@4421 45 #cp -a $_pkg/usr/lib/dri $fs/usr/lib
pankso@4170 46
rcx@3695 47 # libGLU is included in the package libglu-mesa
rcx@3695 48 rm -r -f $fs/usr/lib/libGLU*
pankso@4170 49
rcx@3695 50 #libGLw is included in the package libglw-mesa
rcx@3695 51 rm -r -f $fs/usr/lib/libGLw*
jozee@5537 52
jozee@5537 53 #libEGL is included in the package libegl-mesa
jozee@5537 54 rm -r -f $fs/usr/lib/libEGL*
pascal@592 55 }