wok-4.x view mesa/receipt @ rev 3144

pydot: remove garbage
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 22 15:38:48 2009 +0200 (2009-05-22)
parents a760d2142f2c
children f7311b2e6694
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 xorg-dri2proto libdrm"
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 }