mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: bc: Update to 1.07.
* gnu/packages/algebra.scm (bc): Update to 1.07. [native-inputs]: Add ed and texinfo. [arguments]: Use default ‘configure’ phase.
This commit is contained in:
parent
f0bacad682
commit
dfee7daedb
1 changed files with 11 additions and 22 deletions
|
@ -26,6 +26,7 @@ (define-module (gnu packages algebra)
|
||||||
#:use-module (gnu packages autotools)
|
#:use-module (gnu packages autotools)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
#:use-module (gnu packages documentation)
|
#:use-module (gnu packages documentation)
|
||||||
|
#:use-module (gnu packages ed)
|
||||||
#:use-module (gnu packages flex)
|
#:use-module (gnu packages flex)
|
||||||
#:use-module (gnu packages fltk)
|
#:use-module (gnu packages fltk)
|
||||||
#:use-module (gnu packages gl)
|
#:use-module (gnu packages gl)
|
||||||
|
@ -39,6 +40,7 @@ (define-module (gnu packages algebra)
|
||||||
#:use-module (gnu packages readline)
|
#:use-module (gnu packages readline)
|
||||||
#:use-module (gnu packages shells)
|
#:use-module (gnu packages shells)
|
||||||
#:use-module (gnu packages tex)
|
#:use-module (gnu packages tex)
|
||||||
|
#:use-module (gnu packages texinfo)
|
||||||
#:use-module (gnu packages xiph)
|
#:use-module (gnu packages xiph)
|
||||||
#:use-module (gnu packages xorg)
|
#:use-module (gnu packages xorg)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
|
@ -468,35 +470,22 @@ (define-public gmp-ecm
|
||||||
(define-public bc
|
(define-public bc
|
||||||
(package
|
(package
|
||||||
(name "bc")
|
(name "bc")
|
||||||
(version "1.06")
|
(version "1.07")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/bc/bc-" version ".tar.gz"))
|
(uri (string-append "mirror://gnu/bc/bc-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0cqf5jkwx6awgd2xc2a0mkpxilzcfmhncdcfg7c9439wgkqxkxjf"))))
|
"1b852b39y43zrbya7d8civ7vmdbfap5v1ivc70ypr3bj7b1izksm"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("readline" ,readline)))
|
(inputs
|
||||||
(native-inputs `(("flex" ,flex)))
|
`(("readline" ,readline)))
|
||||||
|
(native-inputs
|
||||||
|
`(("ed" ,ed)
|
||||||
|
("flex" ,flex)
|
||||||
|
("texinfo" ,texinfo)))
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases
|
'(#:configure-flags
|
||||||
(alist-replace 'configure
|
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
;; This old `configure' script doesn't support
|
|
||||||
;; variables passed as arguments.
|
|
||||||
(let ((out (assoc-ref outputs "out")))
|
|
||||||
(setenv "CONFIG_SHELL" (which "bash"))
|
|
||||||
(zero?
|
|
||||||
(system*
|
|
||||||
"./configure"
|
|
||||||
(string-append "--prefix=" out)
|
|
||||||
;; By default, man and info pages are put in
|
|
||||||
;; PREFIX/{man,info}, but we want them in
|
|
||||||
;; PREFIX/share/{man,info}.
|
|
||||||
(string-append "--mandir=" out "/share/man")
|
|
||||||
(string-append "--infodir=" out "/share/info")))))
|
|
||||||
%standard-phases)
|
|
||||||
#:configure-flags
|
|
||||||
(list "--with-readline")))
|
(list "--with-readline")))
|
||||||
(home-page "https://www.gnu.org/software/bc/")
|
(home-page "https://www.gnu.org/software/bc/")
|
||||||
(synopsis "Arbitrary precision numeric processing language")
|
(synopsis "Arbitrary precision numeric processing language")
|
||||||
|
|
Loading…
Reference in a new issue