SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gource"

# SliTaz package receipt.

PACKAGE="gource"
VERSION="0.51"
CATEGORY="development"
SHORT_DESC="Software version control visualization."
MAINTAINER="slaxemulator@gmail.com"
LICENSE="GPL3"
WEB_SITE="https://gource.io/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/acaudwell/Gource/releases/download/$PACKAGE-$VERSION/$TARBALL"

DEPENDS="freetype ftgl glew libboost-filesystem libsdl2 libsdl2-image pcre"
BUILD_DEPENDS="freetype-dev ftgl-dev glew-dev glm libboost-filesystem-dev 
    libsdl2-dev libsdl2-image-dev mesa-dev pcre-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure $CONFIGURE_ARGS && 
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share

    cp -a $install/usr/bin        $fs/usr
    cp -a $install/usr/share/gource    $fs/usr/share
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)