summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/dwarf-mode')
-rw-r--r--app-emacs/dwarf-mode/Manifest1
-rw-r--r--app-emacs/dwarf-mode/dwarf-mode-2.39.ebuild17
-rw-r--r--app-emacs/dwarf-mode/files/50dwarf-mode-gentoo.el3
-rw-r--r--app-emacs/dwarf-mode/metadata.xml13
4 files changed, 34 insertions, 0 deletions
diff --git a/app-emacs/dwarf-mode/Manifest b/app-emacs/dwarf-mode/Manifest
new file mode 100644
index 000000000000..b6cc86caa4f6
--- /dev/null
+++ b/app-emacs/dwarf-mode/Manifest
@@ -0,0 +1 @@
+DIST binutils-2.39.tar.xz 25167756 BLAKE2B ac6a5296c6586d53eaadcbffc5c399a6d79edf72450b9bb8b3525ce525129cef3d2eb90c85ef3bb3270b5a03b0e1ffb8f0b705f028158726f9777ebb8685066f SHA512 68e038f339a8c21faa19a57bbc447a51c817f47c2e06d740847c6e9cc3396c025d35d5369fa8c3f8b70414757c89f0e577939ddc0d70f283182504920f53b0a3
diff --git a/app-emacs/dwarf-mode/dwarf-mode-2.39.ebuild b/app-emacs/dwarf-mode/dwarf-mode-2.39.ebuild
new file mode 100644
index 000000000000..522f6c9a8072
--- /dev/null
+++ b/app-emacs/dwarf-mode/dwarf-mode-2.39.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs mode to browse DWARF information"
+HOMEPAGE="https://sourceware.org/binutils/"
+SRC_URI="mirror://gnu/binutils/binutils-${PV}.tar.xz"
+S="${WORKDIR}"/binutils-${PV}/binutils
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/dwarf-mode/files/50dwarf-mode-gentoo.el b/app-emacs/dwarf-mode/files/50dwarf-mode-gentoo.el
new file mode 100644
index 000000000000..7caa9f19a37b
--- /dev/null
+++ b/app-emacs/dwarf-mode/files/50dwarf-mode-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'dwarf-browse "dwarf-mode"
+ "Invoke `objdump' and put output into a `dwarf-mode' buffer." t)
diff --git a/app-emacs/dwarf-mode/metadata.xml b/app-emacs/dwarf-mode/metadata.xml
new file mode 100644
index 000000000000..38a0bcca915a
--- /dev/null
+++ b/app-emacs/dwarf-mode/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <stabilize-allarches />
+ <upstream>
+ <remote-id type="cpe">cpe:/a:gnu:binutils</remote-id>
+ </upstream>
+</pkgmetadata>