gnu: smithwaterman: Use new style for phases.
* gnu/packages/bioinformatics.scm (smithwaterman)[arguments]: Use list of G-Expressions.
This commit is contained in:
parent
855c8d9d41
commit
c1fc65ecb6
@ -14181,24 +14181,26 @@ some of the details of opening and jumping in tabix-indexed files.")
|
||||
(base32 "0i9d8zrxpiracw3mxzd9siybpy62p06rqz9mc2w93arajgbk45bs"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; There are no tests to run.
|
||||
#:make-flags (list (string-append "CXX=" ,(cxx-for-target))
|
||||
(list
|
||||
#:tests? #f ; There are no tests to run.
|
||||
#:make-flags
|
||||
#~(list (string-append "CXX=" #$(cxx-for-target))
|
||||
"libsw.a" "all")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(delete 'configure) ; There is no configure phase.
|
||||
(add-after 'unpack 'patch-source
|
||||
(lambda _
|
||||
(substitute* "Makefile"
|
||||
(("-c ") "-c -fPIC "))
|
||||
,@(if (%current-target-system)
|
||||
`((substitute* "Makefile"
|
||||
(("ld") (string-append ,(%current-target-system) "-ld"))
|
||||
(("ar") (string-append ,(%current-target-system) "-ar"))))
|
||||
#$@(if (%current-target-system)
|
||||
#~((substitute* "Makefile"
|
||||
(("ld") (string-append #$(%current-target-system) "-ld"))
|
||||
(("ar") (string-append #$(%current-target-system) "-ar"))))
|
||||
'())))
|
||||
(add-after 'build 'build-dynamic
|
||||
(lambda _
|
||||
(invoke ,(cxx-for-target)
|
||||
(invoke #$(cxx-for-target)
|
||||
"-shared" "-o" "libsmithwaterman.so"
|
||||
"smithwaterman.o" "SmithWatermanGotoh.o"
|
||||
"disorder.o" "BandedSmithWaterman.o"
|
||||
@ -14229,7 +14231,7 @@ some of the details of opening and jumping in tabix-indexed files.")
|
||||
Description: smith-waterman-gotoh alignment algorithm~@
|
||||
Libs: -L${libdir} -lsmithwaterman~@
|
||||
Cflags: -I${includedir}~%"
|
||||
out ,version)))))))))
|
||||
out #$version)))))))))
|
||||
(home-page "https://github.com/ekg/smithwaterman")
|
||||
(synopsis "Implementation of the Smith-Waterman algorithm")
|
||||
(description "Implementation of the Smith-Waterman algorithm.")
|
||||
|
Loading…
Reference in New Issue
Block a user