gnu: plink-ng: Remove custom install phase.

* gnu/packages/bioinformatics.scm (plink-ng)[arguments]: Adjust
make-flags and remove custom 'install phase.
This commit is contained in:
Efraim Flashner 2021-03-31 14:20:08 +03:00
parent 977ea2c0a3
commit 5f3f2a7cc8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -6305,18 +6305,14 @@ (define-public plink-ng
'(#: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)