SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "gdb-python"

# SliTaz package receipt.

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

SOURCE="gdb"
TARBALL="$SOURCE-$VERSION.tar.xz"
WGET_URL="$GNU_MIRROR/$SOURCE/$TARBALL"
PROVIDE="gdb"
SUGGESTED="gdb-lang"
DEPENDS="expat gcc-lib-base glibc-dev gmp ncurses python"
BUILD_DEPENDS="gcc gmp-dev ncurses-dev python-dev"

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

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

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

    cook_copy_folders    bin
    cook_copy_folders    lib
    cp -a $install/usr/share/gdb $fs/usr/share
}
6047 packages and 209931 files in current database (Wed Jun 26 15:35:30 2024)