wok-6.x view mesa-dri/receipt @ rev 4808

mpd: edit receipt
author Paul Issott <paul@slitaz.org>
date Mon Jan 18 16:06:04 2010 +0000 (2010-01-18)
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 }