wok-6.x annotate mesa/receipt @ rev 23392
updated perl-template-toolkit (2.26 -> 3.008)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 16:54:23 2020 +0100 (2020-03-31) |
parents | a78610b2eb47 |
children | 89c8d8b6cf48 |
rev | line source |
---|---|
pascal@592 | 1 # SliTaz package receipt. |
pascal@592 | 2 |
pascal@592 | 3 PACKAGE="mesa" |
Hans-G?nter@22242 | 4 VERSION="9.2.5" |
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" |
Hans-G?nter@22242 | 9 WEB_SITE="https://www.mesa3d.org/" |
Hans-G?nter@22242 | 10 |
pascal@592 | 11 SOURCE="Mesa" |
pascal@592 | 12 TARBALL="${SOURCE}Lib-$VERSION.tar.bz2" |
Hans-G?nter@22242 | 13 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/older-versions/${VERSION%%.*}.x/$VERSION/$TARBALL" |
Hans-G?nter@22242 | 14 |
rcx@3695 | 15 PROVIDE="libgl" |
Hans-G?nter@22242 | 16 SUGGESTED="nvidia" |
Hans-G?nter@22242 | 17 DEPENDS="expat libdrm libpthread-stubs udev xorg-libXdamage xorg-libXt |
Hans-G?nter@22242 | 18 xorg-libXxf86vm" |
Hans-G?nter@22242 | 19 BUILD_DEPENDS="autoconf automake expat-dev file lesstif-dev libdrm-dev |
Hans-G?nter@22242 | 20 libdrm-nouveau libpthread-stubs-dev libtool libxml2-python llvm |
Hans-G?nter@22242 | 21 pkg-config talloc udev-dev xorg-dri2proto xorg-glproto xorg-imake |
Hans-G?nter@22242 | 22 xorg-libXdamage-dev xorg-libXt-dev xorg-libXxf86vm-dev |
Hans-G?nter@22242 | 23 xorg-makedepend xorg-server-dev" |
pankso@9735 | 24 |
pascal@592 | 25 # Rules to configure and make the package. |
pascal@592 | 26 compile_rules() |
rcx@3695 | 27 { |
psychomaniak@19158 | 28 find . -name 'nouveau*.h' | \ |
psychomaniak@19158 | 29 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|' |
Hans-G?nter@22242 | 30 |
Hans-G?nter@22242 | 31 ./autogen.sh \ |
Hans-G?nter@22242 | 32 --prefix=/usr \ |
rcx@3695 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22242 | 34 make $MAKEFLAGS && |
Hans-G?nter@22242 | 35 make install |
pascal@592 | 36 } |
pascal@592 | 37 |
pascal@592 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@592 | 39 genpkg_rules() |
pascal@592 | 40 { |
pankso@3007 | 41 mkdir -p $fs/usr/lib |
Hans-G?nter@22242 | 42 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@4170 | 43 |
rcx@3695 | 44 # libGLU is included in the package libglu-mesa |
rcx@3695 | 45 rm -r -f $fs/usr/lib/libGLU* |
pankso@4170 | 46 |
rcx@3695 | 47 #libGLw is included in the package libglw-mesa |
rcx@3695 | 48 rm -r -f $fs/usr/lib/libGLw* |
pankso@12548 | 49 |
jozee@5537 | 50 #libEGL is included in the package libegl-mesa |
jozee@5537 | 51 rm -r -f $fs/usr/lib/libEGL* |
pascal@592 | 52 } |