wok-current diff mesa-dri/receipt @ rev 4756

Up: mpd (0.15.7)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jan 10 22:21:48 2010 +0100 (2010-01-10)
parents
children 5b44af8c1257
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mesa-dri/receipt	Sun Jan 10 22:21:48 2010 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mesa-dri"
     1.7 +VERSION="7.4.4"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Mesa DRI drivers."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://www.mesa3d.org/"
    1.12 +WANTED="mesa"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +	mkdir -p $fs/usr/lib
    1.18 +	# Copy everything, remove file while generating splited packages.
    1.19 +	cp -a $_pkg/usr/lib/dri $fs/usr/lib
    1.20 +	cd $WOK
    1.21 +	for pkg in mesa-dri-*
    1.22 +	do
    1.23 +		tazwok genpkg $pkg
    1.24 +		for file in `ls $pkg/taz/*/fs/usr/lib/dri`
    1.25 +		do
    1.26 +			rm $WOK/$PACKAGE/taz/*/fs/usr/lib/dri/$file
    1.27 +		done
    1.28 +	done
    1.29 +}