# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/cgdb/cgdb-0.5.3.ebuild,v 1.4 2006/05/28 19:24:20 nerdboy Exp $ inherit eutils autotools DESCRIPTION="curses interface to the GNU debugger" HOMEPAGE="http://cgdb.sourceforge.net/" SRC_URI="mirror://sourceforge/cgdb/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86 ~x86-fbsd" IUSE="" DEPEND=">=sys-libs/ncurses-5.3-r1" RDEPEND="${DEPEND} >=sys-devel/gdb-5.3" src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${PN}-fbsd.patch" AT_M4DIR="config" eautomake } src_compile() { econf || die "econf failed" emake -j1 || die "emake failed" } src_install() { einstall || die "make install failed" dodoc AUTHORS ChangeLog NEWS README }