wok annotate mesa/receipt @ rev 3448

Add offineimap
author Julien Rabier <taziden@slitaz.org>
date Sun Jun 14 23:40:53 2009 +0000 (2009-06-14)
parents a760d2142f2c
children f7311b2e6694
rev   line source
pascal@592 1 # SliTaz package receipt.
pascal@592 2
pascal@592 3 PACKAGE="mesa"
pankso@3007 4 VERSION="7.4.1"
pascal@745 5 CATEGORY="misc"
pascal@592 6 SHORT_DESC="3D Graphics Library."
pascal@592 7 MAINTAINER="pascal.bellard@slitaz.org"
pankso@3007 8 DEPENDS="xorg libdrm xorg-libXxf86vm"
pascal@3031 9 BUILD_DEPENDS="xorg-dev xorg-xextproto libdrm-dev xorg-libXxf86vm-dev xorg-dri2proto libdrm"
pascal@592 10 SOURCE="Mesa"
pascal@592 11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
pascal@592 12 WEB_SITE="http://www.mesa3d.org/"
pascal@592 13 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL"
b1+slitaz@1837 14 PROVIDE="libgl libglu"
pascal@592 15
pascal@592 16 # Rules to configure and make the package.
pascal@592 17 compile_rules()
pascal@592 18 {
pankso@3007 19 ln -s $src $PACKAGE-$VERSION 2>/dev/null
pascal@592 20 cd $src
pankso@3007 21 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure &&
pankso@3007 22 ./configure --prefix=/usr $CONFIGURE_ARGS &&
pankso@3007 23 make &&
pascal@592 24 make DESTDIR=$PWD/_pkg install
pascal@592 25 }
pascal@592 26
pascal@592 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@592 28 genpkg_rules()
pascal@592 29 {
pankso@3007 30 mkdir -p $fs/usr/lib
pankso@3007 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@3007 32 cp -a $_pkg/usr/lib/dri $fs/usr/lib
pascal@592 33 }