wok-6.x view mesa/receipt @ rev 24529
updated exiv2 and exiv2-dev again (0.27.3 -> 0.27.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 07:34:39 2022 +0100 (2022-02-23) |
parents | 6f50b9312cbf |
children | bc2b9d9bed6f |
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 # What is the latest version available today?
26 current_version()
27 {
28 wget -O - ftp://ftp.freedesktop.org/pub/mesa/ 2>/dev/null | \
29 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
30 }
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 find . -name 'nouveau*.h' | \
36 xargs sed -i 's|libdrm/nouveau.h|libdrm/nouveau/nouveau.h|'
38 ./autogen.sh \
39 --prefix=/usr \
40 $CONFIGURE_ARGS &&
41 make $MAKEFLAGS &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 # libGLU is included in the package libglu-mesa
52 rm -r -f $fs/usr/lib/libGLU*
54 #libGLw is included in the package libglw-mesa
55 rm -r -f $fs/usr/lib/libGLw*
57 #libEGL is included in the package libegl-mesa
58 rm -r -f $fs/usr/lib/libEGL*
59 }