SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libglu-mesa"

# SliTaz package receipt.

PACKAGE="libglu-mesa"
SOURCE="glu"
VERSION="9.0.2"
CATEGORY="x-window"
SHORT_DESC="OpenGL utility library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="https://www.mesa3d.org/"
WGET_URL="https://archive.mesa3d.org/$SOURCE/$TARBALL"
PROVIDE="libglu"

DEPENDS="glibc-base gcc-lib-base mesa"
BUILD_DEPENDS="mesa-dev automake autoconf libtool file"

# What is the latest version available today?
current_version()
{
    wget -O - https://cgit.freedesktop.org/mesa/glu/ 2>/dev/null | \
    sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./autogen.sh
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/libGLU*so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)