wok-current view mesa-dri/receipt @ rev 7856

ruby: build and package with shared library, added zlib-dev BUILD_DEPENDS.
author Liu Peng <rocky@slitaz.org>
date Fri Dec 31 08:55:12 2010 +0000 (2010-12-31)
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 }