wok-next view mesa-dri/receipt @ rev 4421

mesa: split dri driver (mesa-dri-*) and + mesa-demo
author Christophe Lincoln <pankso@slitaz.org>
date Sun Oct 25 17:27:55 2009 +0100 (2009-10-25)
parents
children 5b44af8c1257
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 WEB_SITE="http://www.mesa3d.org/"
9 WANTED="mesa"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/lib
15 # Copy everything, remove file while generating splited packages.
16 cp -a $_pkg/usr/lib/dri $fs/usr/lib
17 cd $WOK
18 for pkg in mesa-dri-*
19 do
20 tazwok genpkg $pkg
21 for file in `ls $pkg/taz/*/fs/usr/lib/dri`
22 do
23 rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file
24 done
25 done
26 }