ddd28c2887f2e7f8f2d55bc3d5c3b59c8639ab0d
[jackhill/guix/guix.git] / distro / packages / global.scm
1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
3 ;;;
4 ;;; This file is part of GNU Guix.
5 ;;;
6 ;;; GNU Guix is free software; you can redistribute it and/or modify it
7 ;;; under the terms of the GNU General Public License as published by
8 ;;; the Free Software Foundation; either version 3 of the License, or (at
9 ;;; your option) any later version.
10 ;;;
11 ;;; GNU Guix is distributed in the hope that it will be useful, but
12 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ;;; GNU General Public License for more details.
15 ;;;
16 ;;; You should have received a copy of the GNU General Public License
17 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
18
19 (define-module (distro packages global)
20 #:use-module (guix packages)
21 #:use-module (guix download)
22 #:use-module (guix build-system gnu)
23 #:use-module (guix licenses)
24 #:use-module (distro packages ncurses)
25 #:use-module (distro packages autotools)
26 #:use-module (distro))
27
28 (define-public global ; a global variable
29 (package
30 (name "global")
31 (version "6.2.7")
32 (source
33 (origin
34 (method url-fetch)
35 (uri (string-append "mirror://gnu/global/global-"
36 version ".tar.gz"))
37 (sha256
38 (base32
39 "1dr250kz65wqpbms4lhz857mzmvmpmiaxgyqxvxkb4b0s840i14i"))))
40 (build-system gnu-build-system)
41 (inputs `(("ncurses" ,ncurses)
42 ("libtool" ,libtool)))
43 (arguments
44 `(#:configure-flags
45 (list (string-append "--with-ncurses="
46 (assoc-ref %build-inputs "ncurses")))))
47 (home-page "http://www.gnu.org/software/global/")
48 (synopsis "GNU GLOBAL source code tag system")
49 (description
50 "GNU GLOBAL is a source code tagging system that works the same way
51 across diverse environments (Emacs, vi, less, Bash, web browser, etc).
52 You can locate specified objects in source files and move there easily.
53 It is useful for hacking a large project containing many
54 subdirectories, many #ifdef and many main() functions. It is similar
55 to ctags or etags but is different from them at the point of
56 independence of any editor. It runs on a UNIX (POSIX) compatible
57 operating system like GNU and BSD.")
58 (license "GPLv3+")))