wok-current annotate mesa-demos/receipt @ rev 6993
Big update: xorg/libdrm/mesa (174 packages)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Oct 31 00:13:37 2010 +0200 (2010-10-31) |
parents | f27e4d63e0bf |
children | 5b982ce8d9d3 |
rev | line source |
---|---|
pankso@4421 | 1 # SliTaz package receipt. |
pankso@4421 | 2 |
pankso@4421 | 3 PACKAGE="mesa-demos" |
gokhlayeh@6993 | 4 VERSION="8.0.1" |
pankso@4421 | 5 CATEGORY="development" |
pankso@4421 | 6 SHORT_DESC="Mesa GLX demos progs." |
pankso@4421 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
gokhlayeh@6993 | 8 DEPENDS="glew" |
pankso@4421 | 9 WEB_SITE="http://www.mesa3d.org/" |
gokhlayeh@6993 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@6993 | 11 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL" |
gokhlayeh@6993 | 12 |
gokhlayeh@6993 | 13 # Rules to configure and make the package. |
gokhlayeh@6993 | 14 compile_rules() |
gokhlayeh@6993 | 15 { |
gokhlayeh@6993 | 16 cd $src |
gokhlayeh@6993 | 17 ./configure \ |
gokhlayeh@6993 | 18 --prefix=/usr \ |
gokhlayeh@6993 | 19 $CONFIGURE_ARGS && |
gokhlayeh@6993 | 20 make && |
gokhlayeh@6993 | 21 make DESTDIR=$PWD/_pkg install |
gokhlayeh@6993 | 22 } |
pankso@4421 | 23 |
pankso@4421 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4421 | 25 genpkg_rules() |
pankso@4421 | 26 { |
pankso@4421 | 27 mkdir -p $fs/usr/bin |
pankso@4421 | 28 cp $src/progs/xdemos/glxinfo $fs/usr/bin |
pankso@4421 | 29 cp $src/progs/xdemos/glxgears $fs/usr/bin |
pankso@4421 | 30 } |