wok-6.x view mesa-demos/receipt @ rev 9078

python-nose: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:44:25 2011 +0100 (2011-03-04)
parents 5b982ce8d9d3
children eb567df29701
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 }