mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
gnu: commencement: Add xz-mesboot.
* gnu/packages/commencement.scm (xz-mesboot): New variable.
This commit is contained in:
parent
f48fe4e9e1
commit
9c4a021211
1 changed files with 46 additions and 0 deletions
|
@ -2178,6 +2178,52 @@ (define (%boot-mesboot2-inputs)
|
|||
`(("gcc" ,gcc-mesboot1)
|
||||
,@(alist-delete "gcc" (%boot-mesboot1-inputs))))
|
||||
|
||||
(define xz-mesboot
|
||||
;; Finally, we can build xz.
|
||||
(package
|
||||
(inherit xz)
|
||||
(name "xz-mesboot")
|
||||
(version "5.0.0")
|
||||
(source (bootstrap-origin
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (list (string-append "http://tukaani.org/xz/xz-" version
|
||||
".tar.gz")
|
||||
(string-append "http://multiprecision.org/guix/xz-"
|
||||
version ".tar.gz")))
|
||||
(sha256
|
||||
(base32
|
||||
"0kf40ggbs1vaaj5s9k4csycahzqcf65n20pa6lngqhm6j0cj3agb")))))
|
||||
(supported-systems '("i686-linux" "x86_64-linux"))
|
||||
(inputs '())
|
||||
(outputs '("out"))
|
||||
(propagated-inputs '())
|
||||
(native-inputs (%boot-mesboot2-inputs))
|
||||
(arguments
|
||||
`(#:implicit-inputs? #f
|
||||
#:guile ,%bootstrap-guile
|
||||
#:parallel-build? #f
|
||||
#:configure-flags
|
||||
`("--disable-assembler"
|
||||
"--disable-shared"
|
||||
"--enable-small"
|
||||
"--disable-threads"
|
||||
"--disable-xzdec"
|
||||
"--disable-lzmadec"
|
||||
"--disable-lzmainfo"
|
||||
"--disable-lzma-links"
|
||||
"--disable-scripts"
|
||||
"--disable-doc"
|
||||
"--disable-nls"
|
||||
"--disable-symbol-versions"
|
||||
;; configure disqualifies BASH, CPP, GCC and GREP
|
||||
;; all of which seem fine for the build
|
||||
"ac_cv_prog_cc_c99=-std=gnu9x"
|
||||
"ac_cv_path_GREP=grep"
|
||||
"gl_cv_posix_shell=bash"
|
||||
"ac_cv_have_decl_optreset=no"
|
||||
"CPPFLAGS=-D__GNUC__=1")))))
|
||||
|
||||
(define binutils-mesboot
|
||||
(package
|
||||
(inherit binutils-mesboot0)
|
||||
|
|
Loading…
Reference in a new issue