wok-current view libglw-mesa/receipt @ rev 25695

Up linux 5.10.214, Patch xorg-server (CVE-2024-31080, CVE-2024-31081, CVE-2024-31082, CVE-2024-31083)
author Stanislas Leduc <shann@slitaz.org>
date Thu Apr 04 08:53:51 2024 +0000 (2 months ago)
parents 4ce52a0b72fd
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libglw-mesa"
4 SOURCE="glw"
5 VERSION="8.0.0"
6 CATEGORY="x-window"
7 SHORT_DESC="OpenGL widget library"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.mesa3d.org/"
12 WGET_URL="ftp://ftp.freedesktop.org/pub/mesa/$SOURCE/$TARBALL"
13 PROVIDE="libglw"
15 DEPENDS="glibc-base util-linux-uuid zlib freetype lesstif mesa \
16 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt \
17 lesstif"
18 BUILD_DEPENDS="mesa-dev automake autoconf libtool util-linux-uuid-dev file"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - https://cgit.freedesktop.org/mesa/glw/ 2>/dev/null | \
24 sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./autogen.sh
31 ./configure \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/libGLw*so* $fs/usr/lib
42 }