SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libglu-mesa"

# SliTaz package receipt.

PACKAGE="libglu-mesa"
VERSION="9.0.0"
CATEGORY="x-window"
SHORT_DESC="OpenGL utility library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="MIT"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://www.mesa3d.org/"
WGET_URL="git|git://anongit.freedesktop.org/mesa/glu.git"
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
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)