You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
2.5 KiB

  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. (define-module (gnu packages autogen)
  19. #:use-module (guix packages)
  20. #:use-module (guix licenses)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu)
  23. #:use-module (gnu packages)
  24. #:use-module (gnu packages which)
  25. #:use-module (gnu packages guile))
  26. (define-public autogen
  27. (package
  28. (name "autogen")
  29. (version "5.18.1")
  30. (source
  31. (origin
  32. (method url-fetch)
  33. (uri (string-append "mirror://gnu/autogen/rel"
  34. version "/autogen-"
  35. version ".tar.gz"))
  36. (sha256
  37. (base32
  38. "0k0gkr5inr9wb3ws30q6bbiqg3qm3ryvl9cznym2xis4lm216d53"))))
  39. (build-system gnu-build-system)
  40. (inputs `(("which" ,which)
  41. ("guile" ,guile-2.0)))
  42. (arguments
  43. '(#:phases (alist-cons-before
  44. 'patch-source-shebangs 'patch-test-scripts
  45. (lambda _
  46. (let ((sh (which "sh")))
  47. (substitute*
  48. (append (find-files "agen5/test" "\\.test$")
  49. (find-files "autoopts/test" "\\.(test|in)$"))
  50. (("/bin/sh") sh)
  51. (("/usr/bin/tr") "tr"))))
  52. %standard-phases)))
  53. (home-page "http://www.gnu.org/software/autogen/")
  54. (synopsis "Automated program generator")
  55. (description
  56. "AutoGen is a program to ease the maintenance of programs that contain
  57. large amounts of repetitive text. It automates the construction of these
  58. sections of the code, simplifying the task of keeping the text in sync. It
  59. also includes an add-on package called AutoOpts, which is specialized for the
  60. maintenance and documentation of program options.")
  61. (license gpl3+)))