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