wok-6.x annotate MesaLib/receipt @ rev 591
MesaLib MesaLib-dev: typos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 16 10:21:17 2008 +0000 (2008-04-16) |
parents | 04130e1a3143 |
children |
rev | line source |
---|---|
pascal@589 | 1 # SliTaz package receipt. |
pascal@589 | 2 |
pascal@589 | 3 PACKAGE="MesaLib" |
pascal@589 | 4 VERSION="7.0.3" |
pascal@589 | 5 CATEGORY="x-window" |
pascal@589 | 6 SHORT_DESC="3D Graphics Library." |
pascal@589 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@589 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@589 | 9 SOURCE="Mesa" |
pascal@589 | 10 WEB_SITE="http://mesa3d.sourceforge.net/" |
pascal@589 | 11 WGET_URL="$SF_MIRROR/mesa3d/$TARBALL" |
pascal@589 | 12 |
pascal@589 | 13 # Rules to configure and make the package. |
pascal@589 | 14 compile_rules() |
pascal@589 | 15 { |
pascal@589 | 16 ln -s $src $PACKAGE-$VERSION |
pascal@589 | 17 cd $src |
pascal@589 | 18 make linux-x86 |
pascal@589 | 19 make DESTDIR=$PWD/_pkg install |
pascal@589 | 20 } |
pascal@589 | 21 |
pascal@589 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@589 | 23 genpkg_rules() |
pascal@589 | 24 { |
pascal@589 | 25 mkdir -p $fs/usr |
pascal@591 | 26 cp -a $_pkg/usr/local/lib $fs/usr |
pascal@589 | 27 } |
pascal@589 | 28 |