SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gtkglext"

# SliTaz package receipt.

PACKAGE="gtkglext"
VERSION="1.2.0"
CATEGORY="x-window"
SHORT_DESC="GtkGLExt is an OpenGL extension to GTK+."
MAINTAINER="pankso@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="https://web.archive.org/web/20190521002311/https://projects-old.gnome.org/gtkglext/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
SUGGESTED="nvidia"

DEPENDS="gtk+ mesa libglu-mesa pangox-compat"
BUILD_DEPENDS="gtk+-dev libglu-mesa libglu-mesa-dev mesa-dev \
util-linux-uuid-dev autoconf pangox-compat-dev"

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

# Rules to configure and make the package.
compile_rules()
{
    patch -Np1 -i $stuff/gtk2.20.patch
    autoconf --force
    ./configure \
        --prefix=/usr \
        $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)