gnu: odt2txt: Fix cross-compilation.
* gnu/packages/textutils.scm (odt2txt): Fix cross-compilation. [arguments]: Use Gexp and CC-FOR-TARGET. Change-Id: I0a81e601813da0e4b2accaf835e3ea774b742df8 Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
f982e290f0
commit
b9d4c29989
|
@ -1130,13 +1130,13 @@ documents into plain text.")
|
||||||
"0im3kzvhxkjlx57w6h13mc9584c74ma1dyymgvpq2y61av3gc35v"))))
|
"0im3kzvhxkjlx57w6h13mc9584c74ma1dyymgvpq2y61av3gc35v"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; no make check
|
(list #:tests? #f ; no make check
|
||||||
#:make-flags (list "CC=gcc"
|
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
|
||||||
(string-append "DESTDIR=" (assoc-ref %outputs "out")))
|
(string-append "DESTDIR=" #$output))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
;; no configure script
|
;; no configure script
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(inputs
|
(inputs
|
||||||
(list zlib))
|
(list zlib))
|
||||||
(home-page "https://github.com/dstosberg/odt2txt/")
|
(home-page "https://github.com/dstosberg/odt2txt/")
|
||||||
|
|
Reference in New Issue