diff options
| -rw-r--r-- | gnu-system.am | 1 | ||||
| -rw-r--r-- | gnu/packages/autogen.scm | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/gnu-system.am b/gnu-system.am index 9f5a89700ae..076cd0da4e5 100644 --- a/gnu-system.am +++ b/gnu-system.am | |||
| @@ -28,6 +28,7 @@ GNU_SYSTEM_MODULES = \ | |||
| 28 | gnu/packages/apr.scm \ | 28 | gnu/packages/apr.scm \ |
| 29 | gnu/packages/aspell.scm \ | 29 | gnu/packages/aspell.scm \ |
| 30 | gnu/packages/attr.scm \ | 30 | gnu/packages/attr.scm \ |
| 31 | gnu/packages/autogen.scm \ | ||
| 31 | gnu/packages/autotools.scm \ | 32 | gnu/packages/autotools.scm \ |
| 32 | gnu/packages/avahi.scm \ | 33 | gnu/packages/avahi.scm \ |
| 33 | gnu/packages/base.scm \ | 34 | gnu/packages/base.scm \ |
diff --git a/gnu/packages/autogen.scm b/gnu/packages/autogen.scm new file mode 100644 index 00000000000..3109c2bf0b0 --- /dev/null +++ b/gnu/packages/autogen.scm | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2013 Eric Bavier <bavier@member.fsf.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 (gnu packages autogen) | ||
| 20 | #:use-module (guix packages) | ||
| 21 | #:use-module (guix licenses) | ||
| 22 | #:use-module (guix download) | ||
| 23 | #:use-module (guix build-system gnu) | ||
| 24 | #:use-module (gnu packages) | ||
| 25 | #:use-module (gnu packages which) | ||
| 26 | #:use-module (gnu packages guile)) | ||
| 27 | |||
| 28 | (define-public autogen | ||
| 29 | (package | ||
| 30 | (name "autogen") | ||
| 31 | (version "5.18.1") | ||
| 32 | (source | ||
| 33 | (origin | ||
| 34 | (method url-fetch) | ||
| 35 | (uri (string-append "mirror://gnu/autogen/rel" | ||
| 36 | version "/autogen-" | ||
| 37 | version ".tar.gz")) | ||
| 38 | (sha256 | ||
| 39 | (base32 | ||
| 40 | "0k0gkr5inr9wb3ws30q6bbiqg3qm3ryvl9cznym2xis4lm216d53")))) | ||
| 41 | (build-system gnu-build-system) | ||
| 42 | (inputs `(("which" ,which) | ||
| 43 | ("guile" ,guile-2.0))) | ||
| 44 | (arguments | ||
| 45 | '(#:phases (alist-cons-before | ||
| 46 | 'patch-source-shebangs 'patch-test-scripts | ||
| 47 | (lambda _ | ||
| 48 | (let ((sh (which "sh"))) | ||
| 49 | (substitute* | ||
| 50 | (append (find-files "agen5/test" "\\.test$") | ||
| 51 | (find-files "autoopts/test" "\\.(test|in)$")) | ||
| 52 | (("/bin/sh") sh) | ||
| 53 | (("/usr/bin/tr") "tr")))) | ||
| 54 | %standard-phases))) | ||
| 55 | (home-page "http://www.gnu.org/software/autogen/") | ||
| 56 | (synopsis "Automated program generator") | ||
| 57 | (description | ||
| 58 | "AutoGen is a program to ease the maintenance of programs that contain | ||
| 59 | large amounts of repetitive text. It automates the construction of these | ||
| 60 | sections of the code, simplifying the task of keeping the text in sync. It | ||
| 61 | also includes an add-on package called AutoOpts, which is specialized for the | ||
| 62 | maintenance and documentation of program options.") | ||
| 63 | (license gpl3+))) | ||
