wok annotate mesa/receipt @ rev 16503

Up: spk (1.4)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 03:14:13 2014 +0200 (2014-04-24)
parents 78230e8a1430
children 64a50efe0309
rev   line source
pascal@592 1 # SliTaz package receipt.
pascal@592 2
pascal@592 3 PACKAGE="mesa"
pascal@14726 4 VERSION="9.1.3"
pankso@4421 5 CATEGORY="x-window"
rcx@3695 6 SHORT_DESC="3D Graphics Library that is an open-source implementaton of OpenGL."
pascal@592 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14728 8 LICENSE="MIT"
jozee@5018 9 SUGGESTED="nvidia"
pascal@592 10 SOURCE="Mesa"
pascal@592 11 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2"
pascal@592 12 WEB_SITE="http://www.mesa3d.org/"
pankso@5298 13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$VERSION/$TARBALL"
rcx@3695 14 PROVIDE="libgl"
pascal@592 15
pankso@12690 16 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev"
pankso@12690 17 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \
pankso@9735 18 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \
pankso@12690 19 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \
pascal@14728 20 xorg-server-dev udev-dev file libdrm-nouveau llvm libtool automake autoconf"
pankso@9735 21
pascal@592 22 # Rules to configure and make the package.
pascal@592 23 compile_rules()
rcx@3695 24 {
pascal@592 25 cd $src
pascal@14728 26 ./autogen.sh \
rcx@3695 27 --prefix=/usr \
rcx@3695 28 $CONFIGURE_ARGS &&
pankso@12548 29 make $MAKEFLAGS && make install
pascal@592 30 }
pascal@592 31
pascal@592 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@592 33 genpkg_rules()
pascal@592 34 {
pankso@3007 35 mkdir -p $fs/usr/lib
pankso@12690 36 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@4170 37
rcx@3695 38 # libGLU is included in the package libglu-mesa
rcx@3695 39 rm -r -f $fs/usr/lib/libGLU*
pankso@4170 40
rcx@3695 41 #libGLw is included in the package libglw-mesa
rcx@3695 42 rm -r -f $fs/usr/lib/libGLw*
pankso@12548 43
jozee@5537 44 #libEGL is included in the package libegl-mesa
jozee@5537 45 rm -r -f $fs/usr/lib/libEGL*
pascal@592 46 }