diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2019-03-02 10:22:13 +0100 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2019-03-02 10:26:00 +0100 |
commit | 7faf57b761061ee834f98c44b2d3973a7ffaa673 (patch) | |
tree | 2bd64297dde2665cf1f60ff616eeba734a1a48ec /dev-util/cflow | |
parent | gnome-base/gnome-session: bump to 3.28.1, update MIME defaults (diff) | |
download | gentoo-7faf57b761061ee834f98c44b2d3973a7ffaa673.tar.gz gentoo-7faf57b761061ee834f98c44b2d3973a7ffaa673.tar.bz2 gentoo-7faf57b761061ee834f98c44b2d3973a7ffaa673.zip |
dev-util/cflow: version bump to 1.6, adapt to EAPI-7
thanks to jer for the heads-up
Closes: https://bugs.gentoo.org/678688
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Tiziano Müller <dev-zero@gentoo.org>
Diffstat (limited to 'dev-util/cflow')
-rw-r--r-- | dev-util/cflow/Manifest | 1 | ||||
-rw-r--r-- | dev-util/cflow/cflow-1.6.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/dev-util/cflow/Manifest b/dev-util/cflow/Manifest index 3d16719493b4..0bbf62def6d9 100644 --- a/dev-util/cflow/Manifest +++ b/dev-util/cflow/Manifest @@ -1 +1,2 @@ DIST cflow-1.4.tar.bz2 634862 BLAKE2B ac8d31b2af7c11bc09f440f0f044f67a538a2a2d574146216b11239097553c41d4982594cc919fc6cc3b861a9b1bf1bd200a0c1f14ee8ab437b724bf6d84c6c7 SHA512 b8f8bd0e75e9ad0ba112313c576766b7cf72ef1e29ad0b0a2ce233f43b4196e311077be2134ff6e0fa0bb18375469ca6a969307fa7565a63ab60dec20400ee03 +DIST cflow-1.6.tar.bz2 836405 BLAKE2B 6cfbfa9f4bb503616cb0bf465e70d9951eb52e65addff16ef2a1ee79b1a115e46ac4747510dd1edf5ec1d96c29540152a6fb2227715cef9e19acbb895f5cda2e SHA512 eb26695b479205ea391623d78ee537cac084a168a52c2bf4f2e4206d7a3f813e6e3f92684903673af905172c3b1df3f8ab1ccb7986bd61ed53feee34fb3fd7c6 diff --git a/dev-util/cflow/cflow-1.6.ebuild b/dev-util/cflow/cflow-1.6.ebuild new file mode 100644 index 000000000000..a7aa5e876cbf --- /dev/null +++ b/dev-util/cflow/cflow-1.6.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit elisp-common + +DESCRIPTION="C function call hierarchy analyzer" +HOMEPAGE="https://www.gnu.org/software/cflow/" +SRC_URI="http://ftp.gnu.org/gnu/cflow/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug emacs nls" + +RDEPEND="emacs? ( virtual/emacs ) + nls? ( virtual/libintl virtual/libiconv )" +BDEPEND="${RDEPEND} + sys-devel/flex + nls? ( sys-devel/gettext )" + +SITEFILE="50${PN}-gentoo.el" +PATCHES=( "${FILESDIR}/cflow-1.4-info-direntry.patch" ) + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable debug) \ + EMACS=no +} + +src_compile() { + default + + if use emacs; then + elisp-compile elisp/cflow-mode.el + fi +} + +src_install() { + default + doinfo doc/cflow.info + + if use emacs; then + elisp-install ${PN} elisp/cflow-mode.{el,elc} + elisp-site-file-install "${FILESDIR}/${SITEFILE}" + fi +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} |