wok-stable view mesa-demos/receipt @ rev 7119
merge
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Nov 04 15:54:54 2010 +0000 (2010-11-04) |
parents | f27e4d63e0bf |
children | 5b982ce8d9d3 |
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 WEB_SITE="http://www.mesa3d.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp $src/progs/xdemos/glxinfo $fs/usr/bin
29 cp $src/progs/xdemos/glxgears $fs/usr/bin
30 }