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.
 
 
 
 
 
 

69 lines
2.6 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 avahi)
  19. #:use-module ((guix licenses) #:select (lgpl2.1+))
  20. #:use-module (guix packages)
  21. #:use-module (guix download)
  22. #:use-module (guix build-system gnu)
  23. #:use-module (gnu packages)
  24. #:use-module (gnu packages gdbm)
  25. #:use-module (gnu packages libdaemon)
  26. #:use-module (gnu packages pkg-config)
  27. #:use-module (gnu packages glib)
  28. #:use-module (gnu packages xml))
  29. (define-public avahi
  30. (package
  31. (name "avahi")
  32. (version "0.6.31")
  33. (home-page "http://avahi.org")
  34. (source (origin
  35. (method url-fetch)
  36. (uri (string-append home-page "/download/avahi-"
  37. version ".tar.gz"))
  38. (sha256
  39. (base32
  40. "0j5b5ld6bjyh3qhd2nw0jb84znq0wqai7fsrdzg7bpg24jdp2wl3"))
  41. (patches (list (search-patch "avahi-localstatedir.patch")))))
  42. (build-system gnu-build-system)
  43. (arguments
  44. '(#:configure-flags '("--with-distro=none"
  45. "--localstatedir=/var" ; for the DBus socket
  46. "--disable-python"
  47. "--disable-mono"
  48. "--disable-doxygen-doc"
  49. "--disable-xmltoman"
  50. "--enable-tests"
  51. "--disable-qt3" "--disable-qt4"
  52. "--disable-gtk" "--disable-gtk3")))
  53. (inputs
  54. `(("expat" ,expat)
  55. ("glib" ,glib)
  56. ("dbus" ,dbus)
  57. ("libdaemon" ,libdaemon)
  58. ("intltool" ,intltool)
  59. ("pkg-config" ,pkg-config)
  60. ("gdbm" ,gdbm)))
  61. (synopsis "Avahi, an mDNS/DNS-SD implementation")
  62. (description
  63. "Avahi is a system which facilitates service discovery on a local
  64. network. It is an implementation of the mDNS (for \"Multicast DNS\") and
  65. DNS-SD (for \"DNS-Based Service Discovery\") protocols.")
  66. (license lgpl2.1+)))