wok view mesa/receipt @ rev 3010
Add Xorg 7.4 dri2proto and glproto
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 11 22:26:05 2009 +0200 (2009-05-11) |
parents | 88bf5a2b55c3 |
children | 7668d7dd0e4e |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="7.4.1"
5 CATEGORY="misc"
6 SHORT_DESC="3D Graphics Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="xorg libdrm xorg-libXxf86vm"
9 BUILD_DEPENDS="xorg-dev xorg-xextproto libdrm-dev xorg-libXxf86vm-dev"
10 SOURCE="Mesa"
11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mesa3d.org/"
13 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL"
14 PROVIDE="libgl libglu"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ln -s $src $PACKAGE-$VERSION 2>/dev/null
20 cd $src
21 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/dri $fs/usr/lib
33 # Have all dri modules in splited packages : mesa-dri-i915, etc ?
34 for mod in i810 mach64 swrast tdfx
35 do
36 rm $fs/usr/lib/dri/${mod}_dri.so
37 done
38 }