1 |
commit: 3d89d0c81148fbcc32c51d084713bd5e731c418f |
2 |
Author: John Helmert III <ajak <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 30 17:51:18 2021 +0000 |
4 |
Commit: John Helmert III <ajak <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 30 17:52:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d89d0c8 |
7 |
|
8 |
dev-util/cflow: add 1.7 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/711196 |
11 |
Signed-off-by: John Helmert III <ajak <AT> gentoo.org> |
12 |
|
13 |
dev-util/cflow/Manifest | 1 + |
14 |
dev-util/cflow/cflow-1.7.ebuild | 56 +++++++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 57 insertions(+) |
16 |
|
17 |
diff --git a/dev-util/cflow/Manifest b/dev-util/cflow/Manifest |
18 |
index cff328000177..1d87b16c1c76 100644 |
19 |
--- a/dev-util/cflow/Manifest |
20 |
+++ b/dev-util/cflow/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST cflow-1.6.tar.bz2 836405 BLAKE2B 6cfbfa9f4bb503616cb0bf465e70d9951eb52e65addff16ef2a1ee79b1a115e46ac4747510dd1edf5ec1d96c29540152a6fb2227715cef9e19acbb895f5cda2e SHA512 eb26695b479205ea391623d78ee537cac084a168a52c2bf4f2e4206d7a3f813e6e3f92684903673af905172c3b1df3f8ab1ccb7986bd61ed53feee34fb3fd7c6 |
23 |
+DIST cflow-1.7.tar.bz2 916685 BLAKE2B 0ab6e17e67765335587b9adbbb074b4461b5082fa68095fdcd0b8c96f597f86c4bde35980efc91e5f187f1eef3f7d656eba53d6420533904a51e5c1f4830cd46 SHA512 ec7361b12099e8024f8420469eeddfa068014e8c7bc892ff5780396ce0baa1f915cc57d304f7e228f010379e08b9bd1ce31c9b50b619bb469081a5ea3d2bd9f4 |
24 |
|
25 |
diff --git a/dev-util/cflow/cflow-1.7.ebuild b/dev-util/cflow/cflow-1.7.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..88ed1770ffc6 |
28 |
--- /dev/null |
29 |
+++ b/dev-util/cflow/cflow-1.7.ebuild |
30 |
@@ -0,0 +1,56 @@ |
31 |
+# Copyright 1999-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit elisp-common |
37 |
+ |
38 |
+DESCRIPTION="C function call hierarchy analyzer" |
39 |
+HOMEPAGE="https://www.gnu.org/software/cflow/" |
40 |
+SRC_URI="http://ftp.gnu.org/gnu/cflow/${P}.tar.bz2" |
41 |
+ |
42 |
+LICENSE="GPL-3" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~ppc ~x86" |
45 |
+IUSE="debug emacs nls" |
46 |
+ |
47 |
+RDEPEND="emacs? ( >=app-editors/emacs-23.1:* ) |
48 |
+ nls? ( virtual/libintl virtual/libiconv )" |
49 |
+BDEPEND="${RDEPEND} |
50 |
+ sys-devel/flex |
51 |
+ nls? ( sys-devel/gettext )" |
52 |
+ |
53 |
+SITEFILE="50${PN}-gentoo.el" |
54 |
+ |
55 |
+src_configure() { |
56 |
+ econf \ |
57 |
+ $(use_enable nls) \ |
58 |
+ $(use_enable debug) \ |
59 |
+ EMACS=no |
60 |
+} |
61 |
+ |
62 |
+src_compile() { |
63 |
+ default |
64 |
+ |
65 |
+ if use emacs; then |
66 |
+ elisp-compile elisp/cflow-mode.el |
67 |
+ fi |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ doinfo doc/cflow.info |
73 |
+ |
74 |
+ if use emacs; then |
75 |
+ elisp-install ${PN} elisp/cflow-mode.{el,elc} |
76 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
77 |
+ fi |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ use emacs && elisp-site-regen |
82 |
+} |
83 |
+ |
84 |
+pkg_postrm() { |
85 |
+ use emacs && elisp-site-regen |
86 |
+} |