SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "cgdb"

# SliTaz package receipt.

PACKAGE="cgdb"
VERSION="0.8.0"
CATEGORY="development"
TAGS="debugger"
SHORT_DESC="Curses interface for GDB."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://cgdb.github.io/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://cgdb.me/files/$TARBALL"

DEPENDS="gcc83-lib-base gdb ncurses readline"
BUILD_DEPENDS="gcc83 ncurses-dev readline-dev texinfo"

CROSS="error: cannot check for file existence when cross compiling"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        CC=gcc-83        \
        CXX=g++-83        \
        --build=$HOST_SYSTEM    \
        --host=$HOST_SYSTEM &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)