wok view libglu-mesa/receipt @ rev 24744

ncursesw-dev: add pkg config files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 10:01:11 2022 +0000 (2022-03-16)
parents a78610b2eb47
children
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 }