wok view libglw-mesa/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents a78610b2eb47
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libglw-mesa"
4 VERSION="8.0.0"
5 CATEGORY="x-window"
6 SHORT_DESC="OpenGL widget 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/glw.git"
12 PROVIDE="libglw"
14 DEPENDS="glibc-base util-linux-uuid zlib freetype lesstif mesa \
15 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXt \
16 lesstif"
17 BUILD_DEPENDS="mesa-dev automake autoconf libtool util-linux-uuid-dev file"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://cgit.freedesktop.org/mesa/glw/ 2>/dev/null | \
23 sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./autogen.sh
30 ./configure \
31 --prefix=/usr \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/libGLw*so* $fs/usr/lib
41 }