SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "freeglut"

# SliTaz package receipt.

PACKAGE="freeglut"
VERSION="2.6.0"
CATEGORY="x-window"
SHORT_DESC="OpenGL utility toolkit."
MAINTAINER="b1+slitaz@nagel.org"
DEPENDS="glibc-base libdrm mesa \
xorg-libX11 xorg-libXau xorg-libXdamage xorg-libXdmcp \
xorg-libXext xorg-libXi xorg-libXfixes xorg-libXxf86vm"
SUGGESTED="nvidia"
BUILD_DEPENDS="mesa-dev mesa xorg-inputproto \
xorg-xproto xorg-libX11-dev xorg-libXau-dev xorg-libXdamage-dev xorg-libXdmcp-dev xorg-libXext-dev xorg-libXi-dev  xorg-libXfixes-dev xorg-libXxf86vm-dev libxcb-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://freeglut.sourceforge.net/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    if [ ! -d $src ] ; then mv $PACKAGE-2.6.0 $src ; fi

    cd $src
    # fixes an issue with the radeon[hd] ATI opensource drivers
    # ref: http://bugs.gentoo.org/show_bug.cgi?id=295163
    patch -p0 -i $stuff/2.6.0-GFX_radeon.patch
#    sed -i 's/-Werror//' configure
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
#    sed -i '/XF86VMODE/d' config.status
    make &&
    make DESTDIR=$src/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)