[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/17: gnu: libnatpmp: Use gexps and simplify.
From: |
guix-commits |
Subject: |
01/17: gnu: libnatpmp: Use gexps and simplify. |
Date: |
Mon, 8 Jan 2024 23:48:10 -0500 (EST) |
apteryx pushed a commit to branch telephony-team
in repository guix.
commit 4f83977e06e037a180cbe8a8dfb254d674a2162a
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Aug 18 00:38:13 2023 -0400
gnu: libnatpmp: Use gexps and simplify.
* gnu/packages/networking.scm (libnatpmp) [arguments]: Use gexps. Use gexp
variables and cc-for-target in make flags.
---
gnu/packages/networking.scm | 20 +++++++-------------
1 file changed, 7 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index cc6f1a1e04..938e27fd79 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -1427,19 +1427,13 @@ files contain direct mappings of the abstractions
provided by the ØMQ C API.")
"0w7wvf4yi8qv659dg9d3ndqvh3bqhgm21gd135spwhq6hhnfv106"))))
(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")))))
+ (list #:phases #~(modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'check)) ; no tests
+ #:make-flags
+ #~(list (string-append "CC=" #$(cc-for-target))
+ (string-append "INSTALLPREFIX=" #$output)
+ (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))))
(home-page "http://miniupnp.free.fr/libnatpmp.html")
(synopsis "C library implementing NAT-PMP")
(description
- branch telephony-team created (now 4077696681), guix-commits, 2024/01/08
- 03/17: gnu: asio: Update to 1.28.0., guix-commits, 2024/01/08
- 06/17: gnu: Add llhttp., guix-commits, 2024/01/08
- 05/17: gnu: Add expected-lite., guix-commits, 2024/01/08
- 04/17: gnu: catch2-3: Update to 3.5.1., guix-commits, 2024/01/08
- 01/17: gnu: libnatpmp: Use gexps and simplify.,
guix-commits <=
- 08/17: gnu: restinio: Update to 0.7.1., guix-commits, 2024/01/08
- 09/17: gnu: libnatpmp: Update to 20230423-0.6a850fd., guix-commits, 2024/01/08
- 13/17: gnu: pjproject-jami: Update and relocate., guix-commits, 2024/01/08
- 14/17: gnu: ffmpeg-jami: Update configure flags., guix-commits, 2024/01/08
- 17/17: gnu: jami: Update to 20231222.2., guix-commits, 2024/01/08
- 07/17: gnu: Add xdiff., guix-commits, 2024/01/08
- 12/17: gnu: Add dhtnet., guix-commits, 2024/01/08
- 11/17: gnu: opendht: Update to 3.1.7., guix-commits, 2024/01/08
- 02/17: gnu: libnatpmp: Update home page., guix-commits, 2024/01/08
- 10/17: gnu: msgpack: Deprecate with msgpack-c., guix-commits, 2024/01/08