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

updated nagios-nrpe again (4.0.2 -> 4.0.3)
author Hans-G?nter Theisgen
date Fri Apr 22 17:47:12 2022 +0100 (2022-04-22)
parents a78610b2eb47
children a23978bfa665
line source
1 # SliTaz package receipt.
3 PACKAGE="libglu-mesa"
4 VERSION="9.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL utility library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.mesa3d.org/"
11 WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git"
12 PROVIDE="libglu"
14 DEPENDS="glibc-base gcc-lib-base mesa"
15 BUILD_DEPENDS="mesa-dev automake autoconf libtool file"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://cgit.freedesktop.org/mesa/glu/ 2>/dev/null | \
21 sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh
28 ./configure \
29 --prefix=/usr \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
39 }