From 57384cdc2729e44e03bb3d1f30f1996c34f0426d Mon Sep 17 00:00:00 2001 From: Nado Date: Mon, 5 Dec 2016 07:20:33 +0100 Subject: dev-util/cgdb: bump to 0.6.8 The ebuild was simplified and is a copy of the live version. The distfile was changed from zip to tgz Package-Manager: portage-2.3.2 --- dev-util/cgdb/cgdb-0.6.8.ebuild | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'dev-util/cgdb/cgdb-0.6.8.ebuild') diff --git a/dev-util/cgdb/cgdb-0.6.8.ebuild b/dev-util/cgdb/cgdb-0.6.8.ebuild index 8f5ebe82f69..af01627dadc 100644 --- a/dev-util/cgdb/cgdb-0.6.8.ebuild +++ b/dev-util/cgdb/cgdb-0.6.8.ebuild @@ -4,18 +4,21 @@ EAPI=6 +if [[ ${PV} = *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI=" + https://github.com/cgdb/cgdb.git + git@github.com:cgdb/cgdb.git" +else + SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +fi inherit multilib-minimal DESCRIPTION="A curses front-end for GDB, the GNU debugger" HOMEPAGE="http://cgdb.github.io/" -SRC_URI="https://github.com/cgdb/cgdb/archive/v${PV}.zip -> ${P}.zip" - LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" -IUSE="" - -S="${WORKDIR}/${P}" DEPEND=" sys-libs/ncurses:0= @@ -25,6 +28,8 @@ RDEPEND=" ${DEPEND} sys-devel/gdb" +DOCS=( AUTHORS ChangeLog INSTALL NEWS README.md TODO ) + src_prepare() { default ./autogen.sh || die @@ -33,12 +38,3 @@ src_prepare() { multilib_src_configure() { ECONF_SOURCE="${S}" econf } - -src_compile() { - multilib-minimal_src_compile -} - -src_install() { - multilib-minimal_src_install - dodoc AUTHORS ChangeLog INSTALL NEWS README.md TODO -} -- cgit v1.2.1