gnu: aalib: Use INVOKE.

* gnu/packages/video.scm (aalib)[arguments]: Substitute INVOKE for
SYSTEM*.
This commit is contained in:
Tobias Geerinckx-Rice 2018-04-01 07:56:45 +02:00
parent d840f6b98a
commit 3103101ec9
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -160,22 +160,22 @@ (define-public aalib
(let ((out (assoc-ref outputs "out"))
(ncurses (assoc-ref inputs "ncurses")))
(setenv "CONFIG_SHELL" (which "bash"))
(zero? (system* "./configure"
(string-append "--prefix=" out)
(string-append "--build=" build)
;; The ancient config.guess is unable to
;; guess the host triplet on mips64el.
,@(if (string=? "mips64el-linux"
(%current-system))
'("--host=mips64el-unknown-linux-gnu")
'())
;; The same is also true with aarch64.
,@(if (string=? "aarch64-linux"
(%current-system))
'("--host=aarch64-unknown-linux-gnu")
'())
(string-append "--with-ncurses="
ncurses)))))))))
(invoke "./configure"
(string-append "--prefix=" out)
(string-append "--build=" build)
;; The ancient config.guess is unable to
;; guess the host triplet on mips64el.
,@(if (string=? "mips64el-linux"
(%current-system))
'("--host=mips64el-unknown-linux-gnu")
'())
;; The same is also true with aarch64.
,@(if (string=? "aarch64-linux"
(%current-system))
'("--host=aarch64-unknown-linux-gnu")
'())
(string-append "--with-ncurses="
ncurses))))))))
(home-page "http://aa-project.sourceforge.net/aalib/")
(synopsis "ASCII-art library")
(description