wok-current view libglu-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 a23978bfa665
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libglu-mesa"
4 SOURCE="glu"
5 VERSION="9.0.2"
6 CATEGORY="x-window"
7 SHORT_DESC="OpenGL utility library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MIT"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.mesa3d.org/"
12 WGET_URL="https://archive.mesa3d.org/$SOURCE/$TARBALL"
13 PROVIDE="libglu"
15 DEPENDS="glibc-base gcc-lib-base mesa"
16 BUILD_DEPENDS="mesa-dev automake autoconf libtool file"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://cgit.freedesktop.org/mesa/glu/ 2>/dev/null | \
22 sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make $MAKEFLAGS && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
40 }