wok annotate mesa-dri/receipt @ rev 7791

Fixed removal of .pyc files in miro.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Dec 24 02:15:22 2010 +0000 (2010-12-24)
parents f27e4d63e0bf
children c483f6f1044b
rev   line source
pankso@4421 1 # SliTaz package receipt.
pankso@4421 2
pankso@4421 3 PACKAGE="mesa-dri"
gokhlayeh@6993 4 VERSION="7.9"
pankso@4421 5 CATEGORY="x-window"
pankso@4421 6 SHORT_DESC="Mesa DRI drivers."
pankso@4421 7 MAINTAINER="pascal.bellard@slitaz.org"
jozee@5491 8 DEPENDS="libdrm expat linux-drm linux-agp"
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
gokhlayeh@6723 16
gokhlayeh@6723 17 mkdir -p $fs/etc/X11/xorg.conf.d
gokhlayeh@6723 18 cp -a stuff/*.conf $fs/etc/X11/xorg.conf.d
gokhlayeh@6723 19
pankso@4421 20 # Copy everything, remove file while generating splited packages.
pankso@4421 21 cp -a $_pkg/usr/lib/dri $fs/usr/lib
pankso@4421 22 cd $WOK
pankso@4421 23 for pkg in mesa-dri-*
pankso@4421 24 do
pankso@4421 25 tazwok genpkg $pkg
pankso@4421 26 for file in `ls $pkg/taz/*/fs/usr/lib/dri`
pankso@4421 27 do
pankso@4421 28 rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file
pankso@4421 29 done
pankso@4421 30 done
pankso@4421 31 }