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.
 
 
 
 
 
 

74 line
2.6 KiB

  1. ;;; GNU Guix --- Functional package management for GNU
  2. ;;; Copyright © 2012 Nikita Karetnikov <nikita@karetnikov.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 acl)
  19. #:use-module (guix licenses)
  20. #:use-module (gnu packages attr)
  21. #:use-module (gnu packages perl)
  22. #:use-module ((gnu packages gettext)
  23. #:renamer (symbol-prefix-proc 'guix:))
  24. #:use-module (guix packages)
  25. #:use-module (guix download)
  26. #:use-module (guix build-system gnu))
  27. (define-public acl
  28. (package
  29. (name "acl")
  30. (version "2.2.51")
  31. (source
  32. (origin
  33. (method url-fetch)
  34. (uri (string-append "mirror://savannah/acl/acl-"
  35. version ".src.tar.gz"))
  36. (sha256
  37. (base32
  38. "09aj30m49ivycl3irram8c3givc0crivjm3ymw0nhfaxrwhlb186"))))
  39. (build-system gnu-build-system)
  40. (arguments
  41. `(#:phases
  42. (alist-cons-after
  43. 'configure 'patch-makefile-SHELL
  44. (lambda _
  45. (patch-makefile-SHELL "include/buildmacros"))
  46. ,(if (%current-target-system)
  47. '%standard-phases
  48. '(alist-replace 'check
  49. (lambda _
  50. (system* "make" "tests" "-C" "test")
  51. ;; XXX: Ignore the test result since this is
  52. ;; dependent on the underlying file system.
  53. #t)
  54. %standard-phases)))))
  55. (inputs `(("attr" ,attr)
  56. ;; Perl is needed to run tests; remove it from cross builds.
  57. ,@(if (%current-target-system)
  58. '()
  59. `(("perl" ,perl)))))
  60. (native-inputs
  61. `(("gettext" ,guix:gettext)))
  62. (home-page
  63. "http://savannah.nongnu.org/projects/acl")
  64. (synopsis
  65. "Library and tools for manipulating access control lists")
  66. (description
  67. "Library and tools for manipulating access control lists.")
  68. (license (list gpl2+ lgpl2.1+))))