Paste number 336813: autoconf

Paste number 336813: autoconf
Pasted by: rekado
When:3 years, 4 months ago
Share:Tweet this! | http://paste.lisp.org/+77VX
Channel:None
Paste contents:
Raw Source | XML | Display As
(define-public autoconf-2.13
  ;; Party like it's 1999: As of palemoon 26.4.1, palemoon needs
  ;; this version of autoconf to build.
  (package (inherit autoconf)
    (version "2.13")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "mirror://gnu/autoconf/autoconf-"
                           version ".tar.xz"))
       (sha256
        (base32
         "07krzl4czczdsgzrrw9fiqx35xcf32naf751khg821g5pqv12qgh"))))
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         ;; The configure script is confused by CONFIG_SHELL and SHELL
         (replace 'configure
           (lambda* (#:key outputs #:allow-other-keys)
             (setenv "CONFIG_SHELL" (which "bash"))
             (setenv "SHELL" (which "bash"))
             (let ((out (assoc-ref outputs "out")))
               (zero? (system* "./configure"
                               (string-append "--prefix=" out)
                               (string-append "--infodir=" out "/share/info")))))))))))

This paste has no annotations.

Colorize as:
Show Line Numbers

Lisppaste pastes can be made by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively.