wok-next annotate mesa/receipt @ rev 920
Add unzip (5.52)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 17 07:45:26 2008 +0000 (2008-06-17) |
parents | 1557df49c519 |
children | 4c400bd09135 |
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@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 |