wok-next annotate mesa-dri/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
parents 9560c3fa0ebd
children 9853ce11bfc6
rev   line source
pankso@4421 1 # SliTaz package receipt.
pankso@4421 2
pankso@4421 3 PACKAGE="mesa-dri"
pankso@4421 4 VERSION="7.4.4"
pankso@4421 5 CATEGORY="x-window"
pankso@4421 6 SHORT_DESC="Mesa DRI drivers."
pankso@4421 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5004 8 DEPENDS="libdrm expat"
pankso@4421 9 WEB_SITE="http://www.mesa3d.org/"
pankso@4421 10 WANTED="mesa"
pankso@4421 11
pankso@4421 12 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4421 13 genpkg_rules()
pankso@4421 14 {
pankso@4421 15 mkdir -p $fs/usr/lib
pankso@4421 16 # Copy everything, remove file while generating splited packages.
pankso@4421 17 cp -a $_pkg/usr/lib/dri $fs/usr/lib
pankso@4421 18 cd $WOK
pankso@4421 19 for pkg in mesa-dri-*
pankso@4421 20 do
pankso@4421 21 tazwok genpkg $pkg
pankso@4421 22 for file in `ls $pkg/taz/*/fs/usr/lib/dri`
pankso@4421 23 do
pankso@4421 24 rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file
pankso@4421 25 done
pankso@4421 26 done
pankso@4421 27 }