gnu: ode: Improve package style.
* gnu/packages/game-development.scm (ode)[source]<snippet>: Remove trailing [arguments]: Use G-expressions. Remove trailing #T from phase.
This commit is contained in:
parent
99d3cfe68a
commit
3af18d785d
1 changed files with 9 additions and 10 deletions
|
@ -2401,18 +2401,17 @@ a.k.a. XenoCollide) as described in Game Programming Gems 7.")
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
(delete-file-recursively "libccd")
|
(delete-file-recursively "libccd")))))
|
||||||
#t))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-DODE_WITH_LIBCCD_SYSTEM=ON")
|
(list
|
||||||
#:phases
|
#:configure-flags #~(list "-DODE_WITH_LIBCCD_SYSTEM=ON")
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-after 'unpack 'unbundle-libccd
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
(add-after 'unpack 'unbundle-libccd
|
||||||
(substitute* "CMakeLists.txt"
|
(lambda _
|
||||||
(("configure_file\\(libccd/.*") ""))
|
(substitute* "CMakeLists.txt"
|
||||||
#t)))))
|
(("configure_file\\(libccd/.*") "")))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list glu libccd mesa))
|
(list glu libccd mesa))
|
||||||
(home-page "https://www.ode.org/")
|
(home-page "https://www.ode.org/")
|
||||||
|
|
Reference in a new issue