wok-next view mesa-demos/receipt @ rev 20502

Swap: current mesa (which is developing and change it's version) is just mesa, while old mesa is mesa12 now (will be removed if no one old package require it).
Also, change long names to its origins: libglu-mesa -> glu, libglw-mesa -> glw, all variations with libegl -> mesa-libegl (because it is part of mesa package).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 16 00:27:34 2018 +0200 (2018-03-16)
parents f45f66242b76
children da9e80c5d4bb
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mesa-demos"
4 VERSION="8.4.0"
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/demos/$TARBALL"
14 BUILD_DEPENDS="glew-dev mesa-dev talloc-dev mesa-libegl pkg-config udev-dev \
15 expat-dev xorg-libxshmfence-dev"
17 compile_rules() {
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="glew"
31 }