wok annotate mesa-dri-intel/receipt @ rev 9912
slitaz-icon: sed only if file exist
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 17 18:16:21 2011 +0200 (2011-05-17) |
parents | c483f6f1044b |
children | 3b75bb1bb79f |
rev | line source |
---|---|
pankso@4421 | 1 # SliTaz package receipt. |
pankso@4421 | 2 |
pankso@4421 | 3 PACKAGE="mesa-dri-intel" |
slaxemulator@9202 | 4 VERSION="7.10.1" |
pankso@4421 | 5 CATEGORY="x-window" |
pankso@4421 | 6 SHORT_DESC="Mesa DRI drivers for Intel." |
pankso@4421 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@4421 | 8 WEB_SITE="http://www.mesa3d.org/" |
gokhlayeh@6993 | 9 DEPENDS="mesa mesa-dri libdrm-intel" |
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/dri |
pankso@4421 | 16 for driver in i810 i915 i965 |
pankso@4421 | 17 do |
pankso@4421 | 18 cp $_pkg/usr/lib/dri/${driver}_dri.so \ |
pankso@4421 | 19 $fs/usr/lib/dri |
pankso@4421 | 20 done |
pankso@4421 | 21 } |