[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/12: gnu: Add libnatpmp.
From: |
guix-commits |
Subject: |
01/12: gnu: Add libnatpmp. |
Date: |
Sat, 2 May 2020 06:06:05 -0400 (EDT) |
mothacehe pushed a commit to branch master
in repository guix.
commit a363978cb9755e950add3fa36e319ec2389a529a
Author: Jan Wielkiewicz <address@hidden>
AuthorDate: Sat May 2 03:14:39 2020 +0200
gnu: Add libnatpmp.
* gnu/packages/networking.scm (libnatpmp): New variable.
Signed-off-by: Mathieu Othacehe <address@hidden>
---
gnu/packages/networking.scm | 37 ++++++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index 94b5215..98bfdbc 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -33,7 +33,7 @@
;;; Copyright © 2019 Brice Waegeneire <address@hidden>
;;; Copyright © 2019 Tonton <address@hidden>
;;; Copyright © 2019, 2020 Alex Griffin <address@hidden>
-;;; Copyright © 2019 Jan Wielkiewicz <address@hidden>
+;;; Copyright © 2019, 2020 Jan Wielkiewicz <address@hidden>
;;; Copyright © 2019 Daniel Schaefer <address@hidden>
;;; Copyright © 2019 Diego N. Barbato <address@hidden>
;;; Copyright © 2020 Vincent Legoll <address@hidden>
@@ -426,6 +426,41 @@ between different versions of ØMQ.")
files contain direct mappings of the abstractions provided by the ØMQ C API.")
(license license:expat)))
+(define-public libnatpmp
+ (package
+ (name "libnatpmp")
+ (version "20150609")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://miniupnp.free.fr/files/"
+ name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1c1n8n7mp0amsd6vkz32n8zj3vnsckv308bb7na0dg0r8969rap1"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)) ; no tests
+ #:make-flags
+ (let* ((target ,(%current-target-system))
+ (gcc (if target
+ (string-append target "-gcc")
+ "gcc")))
+ (list
+ (string-append "CC=" gcc)
+ (string-append "INSTALLPREFIX=" (assoc-ref %outputs "out"))
+ (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")))))
+ (home-page "http://miniupnp.free.fr/libnatpmp.html")
+ (synopsis "C library implementing NAT-PMP")
+ (description
+ "@code{libnatpmp} is a portable and asynchronous implementation of
+the Network Address Translation - Port Mapping Protocol (NAT-PMP)
+written in the C programming language.")
+ (license license:bsd-3)))
+
(define-public librdkafka
(package
(name "librdkafka")
- branch master updated (807986a -> 8c98eb2), guix-commits, 2020/05/02
- 01/12: gnu: Add libnatpmp.,
guix-commits <=
- 04/12: gnu: opendht: Update to 2.0.0., guix-commits, 2020/05/02
- 02/12: gnu: libupnp: Update to 1.8.6., guix-commits, 2020/05/02
- 03/12: gnu: restinio: Update to 0.6.1.1., guix-commits, 2020/05/02
- 07/12: gnu: jami: Create a jami-apply-dependency-patches procedure., guix-commits, 2020/05/02
- 06/12: gnu: jami: Fix download., guix-commits, 2020/05/02
- 09/12: gnu: jami: Make gettext a native input., guix-commits, 2020/05/02
- 11/12: gnu: jami: Use gettext-minimal., guix-commits, 2020/05/02
- 08/12: gnu: libring: Add libnatpmp dependency., guix-commits, 2020/05/02
- 05/12: gnu: telephony: Move Jami and its dependencies to jami.scm., guix-commits, 2020/05/02
- 12/12: gnu: jami: Add epoll support., guix-commits, 2020/05/02