wok-current annotate mesa/receipt @ rev 10972
Up: tor to 0.2.2.33.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 12 12:39:17 2011 +0000 (2011-10-12) |
parents | cffb5294baec |
children | 8e4c74abdf74 |
rev | line source |
---|---|
pascal@592 | 1 # SliTaz package receipt. |
pascal@592 | 2 |
pascal@592 | 3 PACKAGE="mesa" |
slaxemulator@10234 | 4 VERSION="7.10.2" |
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@9735 | 15 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt" |
pankso@9735 | 16 BUILD_DEPENDS="$DEPENDS expat-dev libdrm-dev xorg-libXdamage-dev \ |
pankso@9735 | 17 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \ |
pankso@9735 | 18 pkg-config talloc xorg-makedepend lesstif libxml2-python xorg-imake \ |
pankso@9735 | 19 lesstif-dev" |
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 |
slaxemulator@10234 | 25 patch -Np1 -i $stuff/nouveau-fix-header.patch |
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 && |
slaxemulator@10234 | 35 make 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 } |