SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gdb"

# SliTaz package receipt.

PACKAGE="gdb"
VERSION="11.2"
CATEGORY="development"
TAGS="debug"
SHORT_DESC="The GNU Project Debugger."
MAINTAINER="erjo@slitaz.org"
LICENSE="GPL3"
WEB_SITE="https://www.gnu.org/software/gdb/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"

SUGGESTED="gdb-lang"
DEPENDS="expat gcc-lib-base glibc-dev gmp ncurses"
BUILD_DEPENDS="gcc gmp-dev ncurses-dev readline-dev"

HOST_ARCH="i486 arm"


# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        --with-python=no    \
        --disable-werror    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
}

6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)