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.
 
 
 
 
 
 

56 rivejä
2.2 KiB

  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. (define-module (gnu packages unrtf)
  19. #:use-module (guix licenses)
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu))
  23. (define-public unrtf
  24. (package
  25. (name "unrtf")
  26. (version "0.19.7")
  27. (source (origin
  28. (method url-fetch)
  29. (uri (string-append "mirror://gnu/unrtf/" version
  30. "/unrtf-" version ".tar.gz"))
  31. (sha256
  32. (base32
  33. "1c15miv4ni395wix6qxiqgjfspd6ssdk1ly6mm8srh0jgpidgjzf"))))
  34. (build-system gnu-build-system)
  35. (arguments
  36. '(#:phases (alist-replace
  37. 'configure
  38. (lambda* (#:key outputs #:allow-other-keys)
  39. ;; No `configure' script; do it by hand.
  40. (let ((out (assoc-ref outputs "out")))
  41. (substitute* "Makefile"
  42. (("/usr/local") out))))
  43. %standard-phases)
  44. ;; There are test files, but apparently no automated test suite.
  45. #:tests? #f))
  46. (home-page "http://www.gnu.org/software/unrtf")
  47. (synopsis "Convert Rich Text Format documents to other formats")
  48. (description
  49. "UnRTF is a program for converting text documents from RTF to HTML,
  50. LaTeX, or troff macros. It supports changes in font characteristics,
  51. underlines and strikethroughs, superscripts and subscripts, and more.")
  52. (license gpl2+)))