wok-current view mesa/receipt @ rev 17708

Up xarchiver (0.5.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 03 13:20:33 2015 +0100 (2015-03-03)
parents 64a50efe0309
children 03b2309fd335
line source
1 # SliTaz package receipt.
3 PACKAGE="mesa"
4 VERSION="9.1.3"
5 CATEGORY="x-window"
6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 SUGGESTED="nvidia"
10 SOURCE="Mesa"
11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
12 WEB_SITE="http://www.mesa3d.org/"
13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
14 PROVIDE="libgl"
16 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \
17 libpthread-stubs"
18 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
19 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
20 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
21 xorg-server-dev udev-dev file libdrm-nouveau llvm libpthread-stubs-dev \
22 libtool automake autoconf"
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./autogen.sh \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 # libGLU is included in the package libglu-mesa
41 rm -r -f $fs/usr/lib/libGLU*
43 #libGLw is included in the package libglw-mesa
44 rm -r -f $fs/usr/lib/libGLw*
46 #libEGL is included in the package libegl-mesa
47 rm -r -f $fs/usr/lib/libEGL*
48 }