Skip to contentSkip to conversation

Add ctags and cscope

PATCH New Igor Santos 1 participant 3 messages May 8, 2015

lore
Share & tools
lore
#0 lore raw

cover Add ctags and cscope

Hi, these series add ctags and cscope to the devtools. It's interesting to add these tools to the stable branches.

Igor Santos (2):
ctags: add
cscope: add

 meta-oe/recipes-devtools/cscope/cscope_15.8b.bb | 24 ++++++++++++++++++++++++
 meta-oe/recipes-devtools/ctags/ctags_5.8.bb     | 25 +++++++++++++++++++++++++
 2 files changed, 49 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/cscope/cscope_15.8b.bb
 create mode 100644 meta-oe/recipes-devtools/ctags/ctags_5.8.bb
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/2 ctags: add

Ctags generates an index (or tag) file of language objects found in source files that allows these items to be quickly and easily located by a text editor or other utility. A tag signifies a language object for which an index entry is available (or, alternatively, the index entry created for that object).

---
 meta-oe/recipes-devtools/ctags/ctags_5.8.bb | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/ctags/ctags_5.8.bb
meta-oe/recipes-devtools/ctags/ctags_5.8.bb new file +25 -0
new file mode 100644
index 0000000..6fc3912
@@ -0,0 +1,25 @@
+# Copyright (C) 2015 Igor Santos <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Exuberant Ctags"
+DESCRIPTION = "Exuberant Ctags is a multilanguage reimplementation of the \
+               Unix ctags utility. Ctags generates an index of source code \
+               definitions which is used by numerous editors and utilities \
+               to instantly locate the definitions."
+
+HOMEPAGE = "http://ctags.sourceforge.net/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
+
+inherit autotools-brokensep
+
+SRC_URI = "http://prdownloads.sourceforge.net/${PN}/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "c00f82ecdcc357434731913e5b48630d"
+SRC_URI[sha256sum] = "0e44b45dcabe969e0bbbb11e30c246f81abe5d32012db37395eb57d66e9e99c7"
+
+do_install() {
+    install -Dm 755 ${B}/ctags ${D}${bindir}/ctags
+    install -Dm 644 ${B}/ctags.1 ${D}${mandir}/man1/ctags.1
+}
Signature · 1 line
2.1.0
#2 lore raw

PATCH 2/2 cscope: add

In reply to Igor Santos

Cscope is an interactive, screen-oriented tool that allows the user to browse through C source files for specified elements of code.

---
 meta-oe/recipes-devtools/cscope/cscope_15.8b.bb | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-oe/recipes-devtools/cscope/cscope_15.8b.bb
meta-oe/recipes-devtools/cscope/cscope_15.8b.bb new file +24 -0
new file mode 100644
index 0000000..ecf7e6c
@@ -0,0 +1,24 @@
+# Copyright (C) 2015 Igor Santos <[email protected]>
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+SUMMARY = "Cscope is a text screen based source browser"
+DESCRIPTION = "Cscope is a developer's tool for browsing source code. \
+               It has an impeccable Unix pedigree, having been originally \
+               developed at Bell Labs back in the days of the PDP-11. \
+               Cscope was part of the official AT&T Unix distribution for \
+               many years, and has been used to manage projects involving 20 \
+               million lines of code!"
+
+HOMEPAGE = "http://cscope.sourceforge.net/"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d4667b67b483823043fcffa489ea343b"
+
+inherit autotools
+
+DEPENDS += "ncurses"
+
+SRC_URI = "http://downloads.sourceforge.net/project/cscope/cscope/${PV}/${PN}-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "8f9409a238ee313a96f9f87fe0f3b176"
+SRC_URI[sha256sum] = "4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af"
Signature · 1 line
2.1.0