wok-current annotate mesa/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | 03b2309fd335 |
children | a78610b2eb47 |
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 { |
psychomaniak@19158 | 27 find . -name 'nouveau*.h' | \ |
psychomaniak@19158 | 28 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' |
pascal@14728 | 29 ./autogen.sh \ |
rcx@3695 | 30 --prefix=/usr \ |
rcx@3695 | 31 $CONFIGURE_ARGS && |
pankso@12548 | 32 make $MAKEFLAGS && make install |
pascal@592 | 33 } |
pascal@592 | 34 |
pascal@592 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 36 genpkg_rules() |
pascal@592 | 37 { |
pankso@3007 | 38 mkdir -p $fs/usr/lib |
pankso@12690 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4170 | 40 |
rcx@3695 | 41 # libGLU is included in the package libglu-mesa |
rcx@3695 | 42 rm -r -f $fs/usr/lib/libGLU* |
pankso@4170 | 43 |
rcx@3695 | 44 #libGLw is included in the package libglw-mesa |
rcx@3695 | 45 rm -r -f $fs/usr/lib/libGLw* |
pankso@12548 | 46 |
jozee@5537 | 47 #libEGL is included in the package libegl-mesa |
jozee@5537 | 48 rm -r -f $fs/usr/lib/libEGL* |
pascal@592 | 49 } |
psychomaniak@19154 | 50 |