wok-4.x annotate mesa/receipt @ rev 592
Rename MesaLib* to mesa*
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 17 09:36:57 2008 +0000 (2008-04-17) |
parents | |
children | 9b3d2133ce0f |
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@592 | 5 CATEGORY="extra" |
pascal@592 | 6 SHORT_DESC="3D Graphics Library." |
pascal@592 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@592 | 8 DEPENDS="xorg" |
pascal@592 | 9 SOURCE="Mesa" |
pascal@592 | 10 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
pascal@592 | 11 WEB_SITE="http://www.mesa3d.org/" |
pascal@592 | 12 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL" |
pascal@592 | 13 |
pascal@592 | 14 # Rules to configure and make the package. |
pascal@592 | 15 compile_rules() |
pascal@592 | 16 { |
pascal@592 | 17 ln -s $src $PACKAGE-$VERSION |
pascal@592 | 18 cd $src |
pascal@592 | 19 make linux-x86 |
pascal@592 | 20 make DESTDIR=$PWD/_pkg install |
pascal@592 | 21 } |
pascal@592 | 22 |
pascal@592 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 24 genpkg_rules() |
pascal@592 | 25 { |
pascal@592 | 26 mkdir -p $fs/usr |
pascal@592 | 27 cp -a $_pkg/usr/local/lib $fs/usr |
pascal@592 | 28 } |
pascal@592 | 29 |