Skip to content
Snippets Groups Projects
Commit 614a8977 authored by Ricardo Wurmus's avatar Ricardo Wurmus
Browse files

gnu: ngs-java: Update to 1.2.2.

* gnu/packages/bioinformatics.scm (ngs-java): Update to 1.2.2.
[arguments]: Remove build phase "fix-java-symlink-installation".
parent d6a1cd7c
No related branches found
No related tags found
No related merge requests found
...@@ -2389,26 +2389,8 @@ (define-public ngs-java ...@@ -2389,26 +2389,8 @@ (define-public ngs-java
(srfi srfi-26)) (srfi srfi-26))
,@(package-arguments ngs-sdk)) ,@(package-arguments ngs-sdk))
((#:phases phases) ((#:phases phases)
`(alist-cons-after `(modify-phases ,phases
'enter-dir 'fix-java-symlink-installation (replace 'enter-dir (lambda _ (chdir "ngs-java") #t)))))))
(lambda _
;; Only replace the version suffix, not the version number in
;; the directory name. Reported here:
;; https://github.com/ncbi/ngs/pull/4
(substitute* "Makefile.java"
(((string-append "\\$\\(subst "
"(\\$\\(VERSION[^\\)]*\\)),"
"(\\$\\([^\\)]+\\)),"
"(\\$\\([^\\)]+\\)|\\$\\@)"
"\\)")
_ pattern replacement target)
(string-append "$(patsubst "
"%" pattern ","
"%" replacement ","
target ")"))))
(alist-replace
'enter-dir (lambda _ (chdir "ngs-java") #t)
,phases))))))
(inputs (inputs
`(("jdk" ,icedtea6 "jdk") `(("jdk" ,icedtea6 "jdk")
("ngs-sdk" ,ngs-sdk))) ("ngs-sdk" ,ngs-sdk)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment