[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: crypto++: Don't hard-code VERSION.
From: |
guix-commits |
Subject: |
02/09: gnu: crypto++: Don't hard-code VERSION. |
Date: |
Wed, 19 Feb 2020 18:46:37 -0500 (EST) |
nckx pushed a commit to branch master
in repository guix.
commit 3ca6c1a720c8a6460470d17ec1b63277583d0996
Author: Tobias Geerinckx-Rice <address@hidden>
AuthorDate: Wed Feb 19 18:43:39 2020 +0100
gnu: crypto++: Don't hard-code VERSION.
* gnu/packages/crypto.scm (crypto++)[arguments]: Use package VERSION.
---
gnu/packages/crypto.scm | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 4ce1cc4..8d81fa7 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -70,6 +70,7 @@
#:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix build-system perl)
+ #:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-26))
@@ -635,10 +636,14 @@ data on your platform, so the seed itself will be as
random as possible.
;; Create all the ‘intermediates’ expected by dependent packages.
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
- (lib (string-append out "/lib")))
+ (lib (string-append out "/lib"))
+ (prefix "libcryptopp.so.")
+ (target (string-append prefix ,version)))
(with-directory-excursion lib
- (symlink "libcryptopp.so.8.0.0" "libcryptopp.so.8.0")
- (symlink "libcryptopp.so.8.0.0" "libcryptopp.so.8")
+ (symlink target
+ (string-append prefix ,(version-major+minor
version)))
+ (symlink target
+ (string-append prefix ,(version-major version)))
#t))))
(add-after 'install 'install-pkg-config
(lambda* (#:key outputs #:allow-other-keys)
- branch master updated (f55084b -> 00c967f), guix-commits, 2020/02/19
- 02/09: gnu: crypto++: Don't hard-code VERSION.,
guix-commits <=
- 04/09: gnu: crypto++: Returt #t from all phases., guix-commits, 2020/02/19
- 03/09: gnu: crypto++: Build in parallel., guix-commits, 2020/02/19
- 05/09: gnu: crypto++: Update to 8.2.0., guix-commits, 2020/02/19
- 01/09: gnu: libbytesize: Update to 2.2., guix-commits, 2020/02/19
- 06/09: gnu: munge: Update to 0.5.14., guix-commits, 2020/02/19
- 07/09: gnu: transset-df: Use HTTPS home page., guix-commits, 2020/02/19
- 08/09: gnu: python-scikit-image: Use HTTPS home page., guix-commits, 2020/02/19
- 09/09: gnu: js-selectize: Use HTTPS home page., guix-commits, 2020/02/19