wok view mesa-demos/receipt @ rev 14190
Up: emacs (24.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 23:02:05 2013 +0100 (2013-03-12) |
parents | 6b09507225ec |
children | 8873e661671a |
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 WEB_SITE="http://www.mesa3d.org/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$VERSION/$TARBALL"
12 DEPENDS="glew"
13 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev libegl-mesa pkg-config udev-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
20 export LDFLAGS="-Wl,--copy-dt-needed-entries -lX11"
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp $install/usr/bin/glxinfo $fs/usr/bin
33 cp $install/usr/bin/glxgears $fs/usr/bin
34 }