wok-stable view mesa-dri/receipt @ rev 4839

mirror-tools: add --sources
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 28 16:26:39 2010 +0100 (2010-01-28)
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 }