Commit | Line | Data |
---|---|---|
18a5a9a1 FB |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2015 Federico Beffa <beffa@fbengineering.ch> | |
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 libupnp) | |
9e672bcc | 20 | #:use-module (gnu packages) |
18a5a9a1 FB |
21 | #:use-module (guix licenses) |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix download) | |
24 | #:use-module (guix build-system gnu)) | |
25 | ||
26 | (define-public libupnp | |
27 | (package | |
28 | (name "libupnp") | |
16525959 | 29 | (version "1.6.21") |
18a5a9a1 FB |
30 | (source |
31 | (origin | |
32 | (method url-fetch) | |
33 | (uri (string-append "mirror://sourceforge/pupnp/pupnp/libUPnP%20" | |
34 | version "/" name "-" version ".tar.bz2")) | |
35 | (sha256 | |
36 | (base32 | |
16525959 | 37 | "16x3z6jg1krwyydmbd0z59z5c9x4pniaajmfmnp5pmx18q43qgxg")))) |
18a5a9a1 FB |
38 | (build-system gnu-build-system) |
39 | (arguments | |
40 | ;; The tests require a network device capable of multicasting which is | |
41 | ;; not available in the build environment. See | |
42 | ;; https://lists.gnu.org/archive/html/guix-devel/2015-01/msg00312.html. | |
43 | `(#:tests? #f | |
44 | #:configure-flags '("--enable-ipv6"))) | |
45 | (home-page "http://pupnp.sourceforge.net") | |
46 | (synopsis "Portable SDK for UPnP Devices") | |
47 | (description | |
48 | "The portable SDK for UPnP Devices (libupnp) provides developers with an | |
49 | API and open source code for building control points, devices, and bridges | |
50 | that are compliant with Version 1.0 of the Universal Plug and Play Device | |
51 | Architecture Specification and support several operating systems like Linux, | |
52 | *BSD, Solaris and others.") | |
53 | (license bsd-3))) |