From b574c21525c67b310020982e522f70a54cac5ede Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sun, 20 Mar 2011 21:58:45 +0000 Subject: Update cmake-utils usage. Acked by Diego (Portage version: 2.2.0_alpha28/cvs/Linux x86_64) --- dev-util/dwarves/ChangeLog | 6 +++++- dev-util/dwarves/dwarves-1.8.ebuild | 22 ++++++++-------------- dev-util/dwarves/dwarves-9999.ebuild | 22 ++++++++-------------- 3 files changed, 21 insertions(+), 29 deletions(-) (limited to 'dev-util') diff --git a/dev-util/dwarves/ChangeLog b/dev-util/dwarves/ChangeLog index 267d37aede52..f9b3f87c1a7c 100644 --- a/dev-util/dwarves/ChangeLog +++ b/dev-util/dwarves/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-util/dwarves # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/ChangeLog,v 1.11 2011/02/06 15:42:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/ChangeLog,v 1.12 2011/03/20 21:58:45 scarabeus Exp $ + + 20 Mar 2011; Tomáš Chvátal dwarves-1.8.ebuild, + dwarves-9999.ebuild: + Update cmake-utils usage. Acked by Diego 06 Feb 2011; Diego E. Pettenò dwarves-1.8.ebuild, dwarves-9999.ebuild, metadata.xml: diff --git a/dev-util/dwarves/dwarves-1.8.ebuild b/dev-util/dwarves/dwarves-1.8.ebuild index d6f98526629d..c5d43abed4f0 100644 --- a/dev-util/dwarves/dwarves-1.8.ebuild +++ b/dev-util/dwarves/dwarves-1.8.ebuild @@ -1,8 +1,10 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/dwarves-1.8.ebuild,v 1.3 2011/02/06 15:42:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/dwarves-1.8.ebuild,v 1.4 2011/03/20 21:58:45 scarabeus Exp $ -inherit toolchain-funcs multilib cmake-utils flag-o-matic +EAPI=4 + +inherit multilib cmake-utils DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities" HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/acme/pahole.git;a=summary" @@ -25,19 +27,11 @@ fi PATCHES=( "${FILESDIR}"/${P}-glibc-212.patch ) -src_compile() { - tc-export CC CXX LD - - use debug || append-flags -DNDEBUG +DOCS=( README README.ctracer ) - mycmakeargs="-D__LIB=$(get_libdir)" - cmake-utils_src_compile +src_configure() { + local mycmakeargs=( "-D__LIB=$(get_libdir)" ) + cmake-utils_src_configure } src_test() { :; } - -src_install() { - cmake-utils_src_install - - dodoc README README.ctracer || die -} diff --git a/dev-util/dwarves/dwarves-9999.ebuild b/dev-util/dwarves/dwarves-9999.ebuild index 0126f099c9a6..a80a3cbd53f5 100644 --- a/dev-util/dwarves/dwarves-9999.ebuild +++ b/dev-util/dwarves/dwarves-9999.ebuild @@ -1,10 +1,12 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/dwarves-9999.ebuild,v 1.5 2011/02/06 15:42:01 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/dwarves/dwarves-9999.ebuild,v 1.6 2011/03/20 21:58:45 scarabeus Exp $ + +EAPI=4 EGIT_REPO_URI="git://git.kernel.org/pub/scm/linux/kernel/git/acme/pahole.git" -inherit toolchain-funcs multilib cmake-utils git flag-o-matic +inherit multilib cmake-utils git DESCRIPTION="pahole (Poke-a-Hole) and other DWARF2 utilities" HOMEPAGE="http://git.kernel.org/?p=linux/kernel/git/acme/pahole.git;a=summary" @@ -18,19 +20,11 @@ RDEPEND=">=dev-libs/elfutils-0.131 sys-libs/zlib" DEPEND="${RDEPEND}" -src_compile() { - tc-export CC CXX LD - - use debug || append-flags -DNDEBUG +DOC=( README README.ctracer ) - mycmakeargs="-D__LIB=$(get_libdir)" - cmake-utils_src_compile +src_configure() { + local mycmakeargs=( "-D__LIB=$(get_libdir)" ) + cmake-utils_src_configure } src_test() { :; } - -src_install() { - cmake-utils_src_install - - dodoc README README.ctracer || die -} -- cgit v1.2.3-65-gdbad