wok-current view libglu-mesa/receipt @ rev 25629

Mass updates for current
author Stanislas Leduc <shann@slitaz.org>
date Wed Oct 11 18:45:46 2023 +0000 (13 months ago)
parents 4ce52a0b72fd
children 3ad63c8fc2f9
line source
1 # SliTaz package receipt.
3 PACKAGE="libglu-mesa"
4 SOURCE="glu"
5 VERSION="9.0.0"
6 CATEGORY="x-window"
7 SHORT_DESC="OpenGL utility 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="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 }