wok annotate mesa/receipt @ rev 7079
Fixed snort and libdaq to uncompress TARBALL as tar.gz instead of tar.bz2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Nov 02 17:58:41 2010 +0000 (2010-11-02) |
parents | f27e4d63e0bf |
children | 50c03a002022 |
rev | line source |
---|---|
pascal@592 | 1 # SliTaz package receipt. |
pascal@592 | 2 |
pascal@592 | 3 PACKAGE="mesa" |
gokhlayeh@6993 | 4 VERSION="7.9" |
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" |
rcx@3695 | 8 DEPENDS="glibc-base expat libdrm xorg-libX11 xorg-libXau xorg-libXdamage \ |
gokhlayeh@6993 | 9 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXxf86vm libxcb libdrm" |
jozee@5018 | 10 SUGGESTED="nvidia" |
pankso@4170 | 11 BUILD_DEPENDS="$DEPENDS slitaz-toolchain expat-dev lesstif lesstif-dev libdrm-dev \ |
rcx@3695 | 12 xorg-dri2proto xorg-glproto xorg-damageproto xorg-xproto xorg-fixesproto xorg-xextproto \ |
rcx@3695 | 13 xorg-libX11-dev xorg-libXdamage-dev xorg-libXfixes-dev xorg-libXt-dev \ |
gokhlayeh@6993 | 14 xorg-libICE-dev xorg-libSM-dev xorg-xf86vidmodeproto xorg-libXxf86vm-dev pkg-config |
gokhlayeh@6993 | 15 wget talloc-dev libxml2-python libxcb-dev" |
pascal@592 | 16 SOURCE="Mesa" |
pascal@592 | 17 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
pascal@592 | 18 WEB_SITE="http://www.mesa3d.org/" |
pankso@5298 | 19 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL" |
rcx@3695 | 20 PROVIDE="libgl" |
pascal@592 | 21 |
pascal@592 | 22 # Rules to configure and make the package. |
pascal@592 | 23 compile_rules() |
rcx@3695 | 24 { |
pankso@3007 | 25 ln -s $src $PACKAGE-$VERSION 2>/dev/null |
pankso@4421 | 26 |
pascal@592 | 27 cd $src |
pankso@4421 | 28 # --with-dri-driverdir=/usr/lib/X11/modules/dri ? |
pankso@3007 | 29 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure && |
rcx@3695 | 30 ./configure \ |
rcx@3695 | 31 --prefix=/usr \ |
rcx@3695 | 32 --with-x \ |
rcx@3695 | 33 --enable-gl-osmesa \ |
rcx@3695 | 34 --enable-motif \ |
gokhlayeh@6993 | 35 --enable-gallium-radeon \ |
gokhlayeh@6993 | 36 --enable-gallium-nouveau \ |
gokhlayeh@6993 | 37 --enable-xcb \ |
rcx@3695 | 38 $CONFIGURE_ARGS && |
gokhlayeh@6993 | 39 # Also build nouveau_vieux_dri.so. |
pascal@5781 | 40 make -j 4 && |
gokhlayeh@6993 | 41 make -j 4 -C src/mesa/drivers/dri/nouveau && |
gokhlayeh@6993 | 42 make DESTDIR=$PWD/_pkg install && |
gokhlayeh@6993 | 43 make -C src/mesa/drivers/dri/nouveau DESTDIR=$PWD/_pkg install |
pascal@592 | 44 } |
pascal@592 | 45 |
pascal@592 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 47 genpkg_rules() |
pascal@592 | 48 { |
pankso@3007 | 49 mkdir -p $fs/usr/lib |
pankso@3007 | 50 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4421 | 51 |
pankso@4421 | 52 # DRI drivers are include in the package mesa-dri-* |
pankso@4421 | 53 #cp -a $_pkg/usr/lib/dri $fs/usr/lib |
pankso@4170 | 54 |
rcx@3695 | 55 # libGLU is included in the package libglu-mesa |
rcx@3695 | 56 rm -r -f $fs/usr/lib/libGLU* |
pankso@4170 | 57 |
rcx@3695 | 58 #libGLw is included in the package libglw-mesa |
rcx@3695 | 59 rm -r -f $fs/usr/lib/libGLw* |
jozee@5537 | 60 |
jozee@5537 | 61 #libEGL is included in the package libegl-mesa |
jozee@5537 | 62 rm -r -f $fs/usr/lib/libEGL* |
pascal@592 | 63 } |