mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: mescc-tools: Support riscv64-linux build.
* gnu/packages/mes.scm (mescc-tools) [arguments]: Update to gexps. Add patch-Kaem/test.sh phase to fix shebang for riscv64-linux/qemu build. Change-Id: Id61c04deb08138481f7290607488465710969e8d
This commit is contained in:
parent
9ce47b6fdd
commit
952d0951da
1 changed files with 12 additions and 7 deletions
|
@ -33,6 +33,7 @@ (define-module (gnu packages mes)
|
||||||
#:use-module (gnu packages texinfo)
|
#:use-module (gnu packages texinfo)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix git-download)
|
#:use-module (guix git-download)
|
||||||
#:use-module (guix licenses)
|
#:use-module (guix licenses)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
@ -209,9 +210,8 @@ (define-public mescc-tools
|
||||||
(version "1.5.0")
|
(version "1.5.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append "mirror://savannah/" name "/"
|
||||||
"https://github.com/oriansj/mescc-tools/releases/download/"
|
name "-" version ".tar.gz"))
|
||||||
"Release_" version "/" name "-" version ".tar.gz"))
|
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1vjczlajyrbjcx9ld35vhdqbxfdwwy3axg0jray3iwnrf70qr700"))))
|
"1vjczlajyrbjcx9ld35vhdqbxfdwwy3axg0jray3iwnrf70qr700"))))
|
||||||
|
@ -220,10 +220,15 @@ (define-public mescc-tools
|
||||||
"armhf-linux" "aarch64-linux"
|
"armhf-linux" "aarch64-linux"
|
||||||
"riscv64-linux"))
|
"riscv64-linux"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")))
|
(list
|
||||||
#:test-target "test"
|
#:make-flags #~(list (string-append "PREFIX=" #$output))
|
||||||
#:phases (modify-phases %standard-phases
|
#:test-target "test"
|
||||||
(delete 'configure))))
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(add-after 'unpack 'patch-Kaem/test.sh
|
||||||
|
(lambda _
|
||||||
|
(substitute* "Kaem/test.sh"
|
||||||
|
(("#/usr/") "#! /usr")))))))
|
||||||
(native-inputs (list which))
|
(native-inputs (list which))
|
||||||
(synopsis "Tools for the full source bootstrapping process")
|
(synopsis "Tools for the full source bootstrapping process")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue