ChangeLog

# ChangeLog for dev-util/cflow
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cflow/ChangeLog,v 1.8 2008/03/10 17:20:05 nixnut Exp $

10 Mar 2008; nixnut cflow-1.2-r1.ebuild:
Added ~ppc wrt bug 212440

18 Dec 2007; Tiziano Müller -cflow-1.2.ebuild,
cflow-1.2-r1.ebuild:
Fixed license. Dropped old version.

*cflow-1.2-r1 (15 Dec 2007)

15 Dec 2007; Ulrich Mueller +files/50cflow-gentoo.el,
+cflow-1.2-r1.ebuild:
Fix Emacs support, bug #202341.

*cflow-1.2 (15 Jul 2007)

15 Jul 2007; Tiziano Müller -cflow-1.0.ebuild,
+cflow-1.2.ebuild:
Version bump

15 Jul 2007; Tiziano Müller metadata.xml:
Setting me as maintainer

14 Jul 2007; Christian Heim metadata.xml:
Assigning dev-util/cflow to m-needed, as chriswhite has been retired (#56211).

04 Jan 2007; Steve Dibb cflow-1.0.ebuild:
add ~amd64, bug 159841

*cflow-1.0 (22 Mar 2006)

22 Mar 2006; Chris White +metadata.xml,
+cflow-1.0.ebuild:
Initial import to the tree. This closes bug #127078. Thanks to Tomoyuki
Sakurai for the ebuid.

Manifest

AUX 50cflow-gentoo.el 177 RMD160 7a16a37ae7ef205ad9770b379a941fd607e31ccc SHA1 d894424c7a8c0ad6290854e84beecbc75ac24169 SHA256 53c0cb29bcd25b0212f8377beb74cc493695c31242af987d90ac98adb723a2b1
DIST cflow-1.2.tar.bz2 517457 RMD160 e03c23d4dfc2507ed2081c4a4f49a673aa18d29f SHA1 c3ff2d45488a872cfd55c2f203c3dce6fb213c08 SHA256 db30aa2cb1a2c9f9845b424d284c5b93928a1100545e64761d22a6177a58852c
EBUILD cflow-1.2-r1.ebuild 1276 RMD160 6aca7019f57fa70a5f609c7bb67130fa5710ae1d SHA1 a24d82de4697363d780771e8ffe15e802b6d67cc SHA256 e13ce5854be74980148dca31cd668ce20024a3c6d5e764b5db6b7cb398b59c98
MISC ChangeLog 1268 RMD160 e500e476b13c4d8c0d568510cea665bd3f6b9c7b SHA1 76542b7a5a159529be88c1f2edeedbba2bb6465e SHA256 8ca30e6e2d272935177a0937a95f47c112830ac6d92cd1caa09ba9de24049f50
MISC metadata.xml 596 RMD160 9bcb49ed47b98de6dbb7dde79573ab884c482c9e SHA1 565b4c5dca4a1565fb5d67ef0365159be31dbf38 SHA256 3602dba32f20fa1aacfd7892922d0cd6ef241ce74daccea3f3ae67480cb71706

cflow-1.2-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/cflow/cflow-1.2-r1.ebuild,v 1.3 2008/03/10 17:20:05 nixnut Exp $

inherit elisp-common

DESCRIPTION="C function call hierarchy analyzer"
HOMEPAGE="http://www.gnu.org/software/cflow/"
SRC_URI="ftp://download.gnu.org.ua/pub/release/cflow/${P}.tar.bz2"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="debug emacs nls"

DEPEND="nls? ( sys-devel/gettext )
emacs? ( virtual/emacs )"
RDEPEND="${DEPEND}"

SITEFILE=50${PN}-gentoo.el

src_compile() {
econf \
$(use_enable nls) \
$(use_enable debug) \
EMACS=no \
|| die "econf failed"
emake || die "emake failed"

if use emacs; then
elisp-compile elisp/cflow-mode.el || die "elisp-compile failed"
fi
}

src_install() {
dodoc AUTHORS ChangeLog NEWS README THANKS TODO
doinfo doc/cflow.info
emake DESTDIR="${D}" install || die "emake install failed"

if use emacs; then
elisp-install ${PN} elisp/cflow-mode.{el,elc} \
|| die "elisp-install failed"
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|| die "elisp-site-file-install failed"
fi
}

pkg_postinst() {
use emacs && elisp-site-regen
}

pkg_postrm() {
use emacs && elisp-site-regen
}

files

metadata.xml




no-herd

dev-zero@gentoo.org


GNU cflow analyzes a collection of C source files and prints a graph,
charting control flow within the program.

GNU cflow is able to produce both direct and inverted flowgraphs for C
sources. Optionally a cross-reference listing can be generated. Two
output formats are implemented: POSIX and GNU (extended).