wok annotate mesa-demos/receipt @ rev 13572

Up jabberd2 (2.2.16)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 04 18:18:29 2012 +0100 (2012-11-04)
parents 004e1a25e1a3
children 6b09507225ec
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"
slaxemulator@7158 9 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev libegl-mesa pkg-config"
pankso@4421 10 WEB_SITE="http://www.mesa3d.org/"
gokhlayeh@6993 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@6993 12 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL"
gokhlayeh@6993 13
gokhlayeh@6993 14 # Rules to configure and make the package.
gokhlayeh@6993 15 compile_rules()
gokhlayeh@6993 16 {
gokhlayeh@6993 17 cd $src
pascal@12761 18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12761 19 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
gokhlayeh@6993 20 ./configure \
gokhlayeh@6993 21 --prefix=/usr \
gokhlayeh@6993 22 $CONFIGURE_ARGS &&
gokhlayeh@6993 23 make &&
gokhlayeh@6993 24 make DESTDIR=$PWD/_pkg install
gokhlayeh@6993 25 }
pankso@4421 26
pankso@4421 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4421 28 genpkg_rules()
pankso@4421 29 {
pankso@4421 30 mkdir -p $fs/usr/bin
slaxemulator@7222 31 cp $_pkg/usr/bin/glxinfo $fs/usr/bin
slaxemulator@7222 32 cp $_pkg/usr/bin/glxgears $fs/usr/bin
pankso@4421 33 }