mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: imppg: Use standard configure phase.
* gnu/packages/astronomy.scm (imppg): Use G-expressions. [arguments]{phases}: Use 'configure standard phase instead of replacement. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
b4be620009
commit
e7b315216a
1 changed files with 2 additions and 13 deletions
|
@ -3231,19 +3231,8 @@ (define-public imppg
|
||||||
(base32 "0a6wb1a9adwd01dmy0r03xxp8iz9y7mvh30088ajilhj4lf90vxa"))))
|
(base32 "0a6wb1a9adwd01dmy0r03xxp8iz9y7mvh30088ajilhj4lf90vxa"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ;no test provided
|
(list ;; No test provided
|
||||||
#:phases
|
#:tests? #f))
|
||||||
(modify-phases %standard-phases
|
|
||||||
(replace 'configure
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(mkdir-p "build")
|
|
||||||
(chdir "build")
|
|
||||||
(invoke
|
|
||||||
"cmake"
|
|
||||||
"-G" "Unix Makefiles"
|
|
||||||
"-DCMAKE_BUILD_TYPE=Release"
|
|
||||||
(string-append "-DCMAKE_INSTALL_PREFIX=" (assoc-ref outputs "out"))
|
|
||||||
".."))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list boost pkg-config))
|
(list boost pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue