wok-6.x annotate mesa/receipt @ rev 3150
Add: desktop-file-utils (Update 'Open with' in PCmanFM and other freedesktop standard apps)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 24 00:20:59 2009 +0200 (2009-05-24) |
parents | a760d2142f2c |
children | f7311b2e6694 |
rev | line source |
---|---|
pascal@592 | 1 # SliTaz package receipt. |
pascal@592 | 2 |
pascal@592 | 3 PACKAGE="mesa" |
pankso@3007 | 4 VERSION="7.4.1" |
pascal@745 | 5 CATEGORY="misc" |
pascal@592 | 6 SHORT_DESC="3D Graphics Library." |
pascal@592 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pankso@3007 | 8 DEPENDS="xorg libdrm xorg-libXxf86vm" |
pascal@3031 | 9 BUILD_DEPENDS="xorg-dev xorg-xextproto libdrm-dev xorg-libXxf86vm-dev xorg-dri2proto libdrm" |
pascal@592 | 10 SOURCE="Mesa" |
pascal@592 | 11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
pascal@592 | 12 WEB_SITE="http://www.mesa3d.org/" |
pascal@592 | 13 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL" |
b1+slitaz@1837 | 14 PROVIDE="libgl libglu" |
pascal@592 | 15 |
pascal@592 | 16 # Rules to configure and make the package. |
pascal@592 | 17 compile_rules() |
pascal@592 | 18 { |
pankso@3007 | 19 ln -s $src $PACKAGE-$VERSION 2>/dev/null |
pascal@592 | 20 cd $src |
pankso@3007 | 21 sed 's@FLAGS=\"-g@FLAGS=\"@' -i configure && |
pankso@3007 | 22 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pankso@3007 | 23 make && |
pascal@592 | 24 make DESTDIR=$PWD/_pkg install |
pascal@592 | 25 } |
pascal@592 | 26 |
pascal@592 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 28 genpkg_rules() |
pascal@592 | 29 { |
pankso@3007 | 30 mkdir -p $fs/usr/lib |
pankso@3007 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@3007 | 32 cp -a $_pkg/usr/lib/dri $fs/usr/lib |
pascal@592 | 33 } |