guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: plink-ng: Remove custom install phase.


From: guix-commits
Subject: 03/04: gnu: plink-ng: Remove custom install phase.
Date: Wed, 31 Mar 2021 07:34:23 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 5f3f2a7cc8e186a33c0c3175f765afdc3e78be18
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Mar 31 14:20:08 2021 +0300

    gnu: plink-ng: Remove custom install phase.
    
    * gnu/packages/bioinformatics.scm (plink-ng)[arguments]: Adjust
    make-flags and remove custom 'install phase.
---
 gnu/packages/bioinformatics.scm | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 5af8d0b..cf2a8de 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -6305,18 +6305,14 @@ subsequent visualization, annotation and storage of 
results.")
      '(#:tests? #f ;no "check" target
        #:make-flags (list "BLASFLAGS=-llapack -lopenblas"
                           "CFLAGS=-Wall -O2 -DDYNAMIC_ZLIB=1"
-                          "ZLIB=-lz")
+                          "ZLIB=-lz"
+                          (string-append "PREFIX=" (assoc-ref %outputs "out"))
+                          "DESTDIR=")
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'chdir
            (lambda _ (chdir "1.9") #t))
-         (delete 'configure) ; no "configure" script
-         (replace 'install
-                  (lambda* (#:key outputs #:allow-other-keys)
-                    (let ((bin (string-append (assoc-ref outputs "out")
-                                              "/bin/")))
-                      (install-file "plink" bin)
-                      #t))))))
+         (delete 'configure)))) ; no "configure" script
     (inputs
      `(("lapack" ,lapack)
        ("openblas" ,openblas)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]