wok-4.x view mesa-demos/receipt @ rev 12290
fox14: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 28 00:25:24 2012 +0200 (2012-05-28) |
parents | 5b982ce8d9d3 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa-demos"
4 VERSION="8.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Mesa GLX demos progs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="glew"
9 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev libegl-mesa pkg-config"
10 WEB_SITE="http://www.mesa3d.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin
29 cp $_pkg/usr/bin/glxinfo $fs/usr/bin
30 cp $_pkg/usr/bin/glxgears $fs/usr/bin
31 }