SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "quesoglc"

# SliTaz package receipt.

PACKAGE="quesoglc"
VERSION="0.7.2"
CATEGORY="x-window"
SHORT_DESC="The OpenGL Character Renderer (GLC) is a state machine that provides OpenGL programs with character rendering services via an application programming interface (API)."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://quesoglc.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="freetype fontconfig freeglut fribidi mesa libglu-mesa expat \
xorg-libXxf86vm libxcb"
BUILD_DEPENDS="$DEPENDS freetype-dev fontconfig-dev freeglut-dev fribidi-dev \
mesa-dev expat-dev xorg-libXxf86vm-dev util-linux-uuid-dev libxcb-dev libxml2-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/quesoglc/files/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/quesoglc-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --infodir=/usr/share/info \
        --mandir=/usr/share/man \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$DESTDIR install
}

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