wok view mesa-demos/receipt @ rev 16905

Add pangox-compat
author Yuri Pourre <yuripourre@gmail.com>
date Tue Jul 15 19:21:23 2014 -0300 (2014-07-15)
parents b28c1ea82bc0
children 17e313b5b9c1
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 LICENSE="MIT"
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 DEPENDS="glew"
14 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev libegl-mesa pkg-config udev-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp $install/usr/bin/glxinfo $fs/usr/bin
34 cp $install/usr/bin/glxgears $fs/usr/bin
35 }