Archived
1
0
Fork 0

gnu: ioquake3: Use G-expressions.

* gnu/packages/game-development.scm (ioquake3)[arguments]:
Rewrite as G-expressions.
This commit is contained in:
Tobias Geerinckx-Rice 2022-08-14 02:00:01 +02:00
parent ee2657a018
commit 466021fb90
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2165,16 +2165,18 @@ of the others")
(list which ; Else SDL_version.h won't be found. (list which ; Else SDL_version.h won't be found.
pkg-config)) pkg-config))
(arguments (arguments
'(#:tests? #f ; No tests. (list
#:make-flags '("CC=gcc" #:tests? #f ; no tests
#:make-flags
#~(list "CC=gcc"
"USE_INTERNAL_LIBS=0" "USE_INTERNAL_LIBS=0"
"USE_FREETYPE=1" "USE_FREETYPE=1"
"USE_RENDERER_DLOPEN=0" "USE_RENDERER_DLOPEN=0"
"USE_OPENAL_DLOPEN=0" "USE_OPENAL_DLOPEN=0"
"USE_CURL_DLOPEN=0") "USE_CURL_DLOPEN=0")
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(delete 'configure) (delete 'configure) ; no configure-script
(replace 'install (replace 'install
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(invoke "make" "copyfiles" "CC=gcc" (invoke "make" "copyfiles" "CC=gcc"