# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.6.5.ebuild,v 1.4 2011/08/07 10:55:13 grobian Exp $ EAPI="2" DESCRIPTION="A curses front-end for GDB, the GNU debugger" HOMEPAGE="http://cgdb.sourceforge.net/" SRC_URI="mirror://sourceforge/cgdb/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ~ppc ~ppc64 x86 ~x86-fbsd ~amd64-linux" IUSE="" DEPEND=">=sys-libs/ncurses-5.3-r1 >=sys-libs/readline-5.1-r2" RDEPEND="${DEPEND} >=sys-devel/gdb-5.3" src_prepare() { sed -i 's:cgdb_malloc:malloc:' various/rline/src/rline.c || die } src_install() { emake DESTDIR="${D}" install || die "make install failed" dodoc AUTHORS ChangeLog NEWS README }