1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 MY_P="${PN}-${PV:0:3}-${PV:4}"
7 DESCRIPTION="bash source code debugging"
8 HOMEPAGE="http://bashdb.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/bashdb/${MY_P}.tar.bz2
10 test? ( https://dev.gentoo.org/~whissi/dist/bashdb/bashdb-4.4-1.0.0-missing-test-files.tar.xz )"
14 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
17 DEPEND="!>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))"
19 S="${WORKDIR}/${MY_P}"
23 einfo "Copying missing files ..."
24 # https://sourceforge.net/p/bashdb/bugs/52/
25 cp -vafn "${WORKDIR}"/missing-files/* "${S}"/test || die
30 # We don't install this, so don't bother building it. #468044
31 sed -i 's:texi2html:true:' doc/Makefile.in || die
35 # This path matches the bash sources. If we ever change bash,
36 # we'll probably have to change this to match. #591994
37 econf --with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'