wok-current view mesa-demos/receipt @ rev 7158

Added talloc to mesa depends. Added talloc-dev to mesa-demos build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Nov 06 22:41:17 2010 +0000 (2010-11-06)
parents 07ae722ec64e
children 004e1a25e1a3
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 $src/progs/xdemos/glxinfo $fs/usr/bin
30 cp $src/progs/xdemos/glxgears $fs/usr/bin
31 }