wok-current view mesa-dri/receipt @ rev 7907
slitaz-configs-base: build as an independent package to avoid cook loops
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Jan 09 15:42:37 2011 +0100 (2011-01-09) |
parents | f27e4d63e0bf |
children | c483f6f1044b |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-dri"
4 VERSION="7.9"
5 CATEGORY="x-window"
6 SHORT_DESC="Mesa DRI drivers."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="libdrm expat linux-drm linux-agp"
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
17 mkdir -p $fs/etc/X11/xorg.conf.d
18 cp -a stuff/*.conf $fs/etc/X11/xorg.conf.d
20 # Copy everything, remove file while generating splited packages.
21 cp -a $_pkg/usr/lib/dri $fs/usr/lib
22 cd $WOK
23 for pkg in mesa-dri-*
24 do
25 tazwok genpkg $pkg
26 for file in `ls $pkg/taz/*/fs/usr/lib/dri`
27 do
28 rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file
29 done
30 done
31 }