mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: html2text: Run ./configure without errors.
* gnu/packages/textutils.scm (html2text)[arguments]: Add a custom 'configure phase. Replace the custom 'fix-paths phase with the customary #:make-flags equivalent.
This commit is contained in:
parent
b43e9c8ecd
commit
b0020938e1
1 changed files with 7 additions and 5 deletions
|
@ -1030,13 +1030,15 @@ indentation.
|
||||||
(base32 "0n6pl0nijcn4z3p0dvf3gmvvpjq261pagnk84s9f78c4c55bw5cm"))))
|
(base32 "0n6pl0nijcn4z3p0dvf3gmvvpjq261pagnk84s9f78c4c55bw5cm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:make-flags
|
||||||
|
(list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||||
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'fix-paths
|
(replace 'configure
|
||||||
|
;; The configure script is not from autotools and does not accept
|
||||||
|
;; ‘--style’ options. There is no proper error handling.
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(substitute* "Makefile.in"
|
(invoke "./configure"))))))
|
||||||
(("/usr/local")
|
|
||||||
(assoc-ref outputs "out"))))))))
|
|
||||||
(home-page "https://github.com/grobian/html2text")
|
(home-page "https://github.com/grobian/html2text")
|
||||||
(synopsis "HTML to plain text converter")
|
(synopsis "HTML to plain text converter")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue