wok-6.x annotate mesa/receipt @ rev 1837
Fix PROVIDE for nvidia-glx/mesa libgl conflict
author | Bill Nagel <b1+slitaz@nagel.org> |
---|---|
date | Thu Dec 11 05:39:17 2008 -0800 (2008-12-11) |
parents | 3f898e9b90bd |
children | 6f7d74f3b2f4 |
rev | line source |
---|---|
pascal@592 | 1 # SliTaz package receipt. |
pascal@592 | 2 |
pascal@592 | 3 PACKAGE="mesa" |
pascal@592 | 4 VERSION="7.0.3" |
pascal@745 | 5 CATEGORY="misc" |
pascal@592 | 6 SHORT_DESC="3D Graphics Library." |
pascal@592 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@592 | 8 DEPENDS="xorg" |
pascal@1491 | 9 BUILD_DEPENDS="xorg-dev xorg-xextproto" |
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 { |
pascal@592 | 19 ln -s $src $PACKAGE-$VERSION |
pascal@592 | 20 cd $src |
pascal@1516 | 21 #make realclean |
pascal@1491 | 22 make linux-x86 && |
pascal@592 | 23 make DESTDIR=$PWD/_pkg install |
pascal@592 | 24 } |
pascal@592 | 25 |
pascal@592 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 27 genpkg_rules() |
pascal@592 | 28 { |
pascal@592 | 29 mkdir -p $fs/usr |
pascal@592 | 30 cp -a $_pkg/usr/local/lib $fs/usr |
pascal@592 | 31 } |
pascal@592 | 32 |