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