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