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

Up: emacs-pkg-lua-mode (2010-04-04)
author Dominique Corbex <domcox@slitaz.org>
date Wed Apr 21 18:25:39 2010 +0200 (2010-04-21)
parents 5b44af8c1257
children 2e410c379877
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-dri"
4 VERSION="7.8.1"
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 }