me
/
guix
Archived
1
0
Fork 0

gnu: smithwaterman: Install pkgconfig file.

* gnu/packages/bioinformatics.scm (smithwaterman)[arguments]: Adjust
custom 'install phase to add smithwaterman.pc file.
master
Efraim Flashner 2020-08-27 18:06:25 +03:00
parent afa352223f
commit 5c78997188
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 16 additions and 1 deletions

View File

@ -15477,7 +15477,22 @@ some of the details of opening and jumping in tabix-indexed files.")
(install-file file (string-append out "/include/smithwaterman"))) (install-file file (string-append out "/include/smithwaterman")))
(find-files "." "\\.h$")) (find-files "." "\\.h$"))
(install-file "libsmithwaterman.so" lib) (install-file "libsmithwaterman.so" lib)
(install-file "libsw.a" lib)) (install-file "libsw.a" lib)
(mkdir-p (string-append lib "/pkgconfig"))
(with-output-to-file (string-append lib "/pkgconfig/smithwaterman.pc")
(lambda _
(format #t "prefix=~a~@
exec_prefix=${prefix}~@
libdir=${exec_prefix}/lib~@
includedir=${prefix}/include/smithwaterman~@
~@
~@
Name: smithwaterman~@
Version: ~a~@
Description: smith-waterman-gotoh alignment algorithm~@
Libs: -L${libdir} -lsmithwaterman~@
Cflags: -I${includedir}~%"
out ,version))))
#t))))) #t)))))
(home-page "https://github.com/ekg/smithwaterman") (home-page "https://github.com/ekg/smithwaterman")
(synopsis "Implementation of the Smith-Waterman algorithm") (synopsis "Implementation of the Smith-Waterman algorithm")