SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "doxygen"

# SliTaz package receipt.

PACKAGE="doxygen"
VERSION="1.9.3"
CATEGORY="development"
TAGS="language documentation"
SHORT_DESC="Source code documentation generator tool."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/doxygen/doxygen/"

TARBALL="$PACKAGE-$VERSION.src.tar.gz"
WGET_URL="${WEB_SITE}archive/Release_${VERSION//./_}.tar.gz"

DEPENDS="gcc83-lib-base"
BUILD_DEPENDS="bison cmake flex gcc83 python"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/doxygen/doxygen/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/Release_\(.*\).tar.*|\1|;s|_|.|g;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CC=gcc-83
    export    CXX=g++-83

    mkdir    _build &&
    cd    _build &&
    cmake    ..            \
        -G "Unix Makefiles" &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/local/bin    $fs/usr
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)