wok-6.x annotate mesa/receipt @ rev 18258
Add pflogsumm (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 04 21:48:04 2015 +0200 (2015-08-04) |
parents | 64a50efe0309 |
children | 03b2309fd335 |
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@16616 | 16 DEPENDS="expat libdrm xorg-libXdamage xorg-libXxf86vm xorg-libXt udev \ |
pankso@16616 | 17 libpthread-stubs" |
pankso@12690 | 18 BUILD_DEPENDS="expat-dev libdrm-dev xorg-libXdamage-dev pkg-config \ |
pankso@9735 | 19 xorg-libXxf86vm-dev xorg-libXt-dev xorg-dri2proto xorg-glproto \ |
pankso@12690 | 20 talloc xorg-makedepend lesstif libxml2-python xorg-imake lesstif-dev \ |
pankso@16618 | 21 xorg-server-dev udev-dev file libdrm-nouveau llvm libpthread-stubs-dev \ |
pankso@16616 | 22 libtool automake autoconf" |
pankso@9735 | 23 |
pascal@592 | 24 # Rules to configure and make the package. |
pascal@592 | 25 compile_rules() |
rcx@3695 | 26 { |
pascal@592 | 27 cd $src |
pascal@14728 | 28 ./autogen.sh \ |
rcx@3695 | 29 --prefix=/usr \ |
rcx@3695 | 30 $CONFIGURE_ARGS && |
pankso@12548 | 31 make $MAKEFLAGS && make install |
pascal@592 | 32 } |
pascal@592 | 33 |
pascal@592 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 35 genpkg_rules() |
pascal@592 | 36 { |
pankso@3007 | 37 mkdir -p $fs/usr/lib |
pankso@12690 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4170 | 39 |
rcx@3695 | 40 # libGLU is included in the package libglu-mesa |
rcx@3695 | 41 rm -r -f $fs/usr/lib/libGLU* |
pankso@4170 | 42 |
rcx@3695 | 43 #libGLw is included in the package libglw-mesa |
rcx@3695 | 44 rm -r -f $fs/usr/lib/libGLw* |
pankso@12548 | 45 |
jozee@5537 | 46 #libEGL is included in the package libegl-mesa |
jozee@5537 | 47 rm -r -f $fs/usr/lib/libEGL* |
pascal@592 | 48 } |