app-shells/bashdb - 5.0.1.1.2-r1 (gentoo)

Search

Package Information

Description:
bash source code debugging
Homepage:
http://bashdb.sourceforge.net/
License:
GPL-3+ GPL-2

Ebuild Details

Version EAPI Keywords Slot
5.0.1.1.2-r1 8 amd64 ppc ppc64 x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

MY_P="${PN}-${PV:0:3}-${PV:4}"
DESCRIPTION="bash source code debugging"
HOMEPAGE="http://bashdb.sourceforge.net/"
SRC_URI="
	https://downloads.sourceforge.net/bashdb/${MY_P}.tar.bz2
	test? ( mirror://gentoo/30/bashdb-4.4-1.0.0-missing-test-files.tar.xz )
"
S="${WORKDIR}/${MY_P}"

# LICENSE in the repo says GPL-2, but it's clearly based on bash-5.0, so
# it must be GPL-3+ too.
LICENSE="GPL-3+ GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

DEPEND="app-shells/bash:${PV:0:3}"
RDEPEND="${DEPEND}"

src_prepare() {
	if use test ; then
		einfo "Copying missing files ..."
		# https://sourceforge.net/p/bashdb/bugs/52/
		cp -vafn "${WORKDIR}"/missing-files/* "${S}"/test || die
	fi

	default

	# We don't install this, so don't bother building it. #468044
	sed -i 's:texi2html:true:' doc/Makefile.in || die
}

src_configure() {
	# This path matches the bash sources.  If we ever change bash,
	# we'll probably have to change this to match (bug #591994).
	CONFIG_SHELL="${BROOT}"/bin/bash econf \
		--with-bash="${EPREFIX}"/bin/bash-${PV:0:3} \
		--with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
}

USE Flags

Applicable Mirrors

Mirror Name URLs
gentoo

Dependencies

DEPEND

app-shells/bash:${PV:0:3}

RDEPEND

app-shells/bash:${PV:0:3}

Manifest for 5.0.1.1.2-r1

Type File Size Source URLs
DIST bashdb-4.4-1.0.0-missing-test-files.tar.xz 996 bytes mirror://gentoo/30/bashdb-4.4-1.0.0-missing-test-files.tar.xz