wok-current view mesa-dri/receipt @ rev 4481
linux: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 14 15:44:04 2009 +0100 (2009-11-14) |
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 }