wok view mesa-dri/receipt @ rev 5005

p*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 28 17:01:48 2010 +0100 (2010-02-28)
parents 9560c3fa0ebd
children 9853ce11bfc6
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-dri"
4 VERSION="7.4.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Mesa DRI drivers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="libdrm expat"
9 WEB_SITE="http://www.mesa3d.org/"
10 WANTED="mesa"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/lib
16 # Copy everything, remove file while generating splited packages.
17 cp -a $_pkg/usr/lib/dri $fs/usr/lib
18 cd $WOK
19 for pkg in mesa-dri-*
20 do
21 tazwok genpkg $pkg
22 for file in `ls $pkg/taz/*/fs/usr/lib/dri`
23 do
24 rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file
25 done
26 done
27 }