wok-stable annotate mesa/receipt @ rev 1739
Up transmission (1.40)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 22 11:16:35 2008 +0000 (2008-11-22) |
parents | 4c400bd09135 |
children | 88bf5a2b55c3 |
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" |
pascal@592 | 14 |
pascal@592 | 15 # Rules to configure and make the package. |
pascal@592 | 16 compile_rules() |
pascal@592 | 17 { |
pascal@592 | 18 ln -s $src $PACKAGE-$VERSION |
pascal@592 | 19 cd $src |
pascal@1516 | 20 #make realclean |
pascal@1491 | 21 make linux-x86 && |
pascal@592 | 22 make DESTDIR=$PWD/_pkg install |
pascal@592 | 23 } |
pascal@592 | 24 |
pascal@592 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 26 genpkg_rules() |
pascal@592 | 27 { |
pascal@592 | 28 mkdir -p $fs/usr |
pascal@592 | 29 cp -a $_pkg/usr/local/lib $fs/usr |
pascal@592 | 30 } |
pascal@592 | 31 |