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"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/gource-\(.*\).tar.*|\1|;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
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)