gnu: bitlbee: Use INVOKE.

* gnu/packages/messaging.scm (bitlbee)[arguments]: Use INVOKE.
This commit is contained in:
Ricardo Wurmus 2019-01-25 12:32:29 +01:00
parent 7d416066cd
commit bea06837a3
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -186,18 +186,18 @@ (define-public bitlbee
(modify-phases %standard-phases
(add-after 'install 'install-etc
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(zero? (apply system* "make" "install-etc" make-flags))))
(apply invoke "make" "install-etc" make-flags)))
(add-after 'install-etc 'install-lib
(lambda* (#:key (make-flags '()) #:allow-other-keys)
(zero? (apply system* "make" "install-dev" make-flags))))
(apply invoke "make" "install-dev" make-flags)))
(replace 'configure
;; bitlbee's configure script does not tolerate many of the
;; variable settings that Guix would pass to it.
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "./configure"
(string-append "--prefix="
(assoc-ref outputs "out"))
"--otr=1")))))))
(invoke "./configure"
(string-append "--prefix="
(assoc-ref outputs "out"))
"--otr=1"))))))
(synopsis "IRC to instant messaging gateway")
(description "BitlBee brings IM (instant messaging) to IRC clients, for
people who have an IRC client running all the time and don't want to run an