guix: mescc-tools: Update to 0.7.0, adding ARM support.

This brings arm-linux-gnueabihf, aarch64-linux-gnu support.

* guix/git/mes.scm (mescc-tools): Update to 0.7.0.
This commit is contained in:
Jan Nieuwenhuizen 2020-02-08 12:28:22 +01:00
parent e9672324f3
commit 40aa190459
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -46,32 +46,40 @@
#:use-module (guix download) #:use-module (guix download)
#: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)
#:use-module (guix utils))
(define %source-dir (getcwd)) (define %source-dir (getcwd))
(define-public mescc-tools (define-public mescc-tools
(package (package
(name "mescc-tools") (name "mescc-tools")
(version "0.6.1") (version "0.7.0")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method url-fetch)
"http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/" (uri (string-append
name "-Release_" version "http://git.savannah.nongnu.org/cgit/mescc-tools.git/snapshot/"
".tar.gz")) name "-Release_" version
(file-name (string-append name "-" version ".tar.gz")) ".tar.gz"))
(sha256 (file-name (string-append name "-" version ".tar.gz"))
(base32 (sha256
"06jpvq6xfjzn2al6b4rdwd3zv3h4cvilc4n9gqcnjr9cr6wjpw2n")))) (base32
"1p1ijia4rm3002f5sypidl9v5gq0mlch9b0n61rpxkdsaaxjqax3"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(supported-systems '("i686-linux" "x86_64-linux")) (supported-systems
'("aarch64-linux" "armhf-linux" "i686-linux" "x86_64-linux"))
(arguments (arguments
`(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))
"CC=gcc") (string-append "CC=" ,(cc-for-target)))
#:test-target "test" #:test-target "test"
#:phases (modify-phases %standard-phases #:phases (modify-phases %standard-phases
(delete 'configure)))) (delete 'configure)
(add-after 'unpack 'patch-prefix
(lambda _
(substitute* "sha256.sh"
(("/usr/bin/sha256sum") (which "sha256sum")))
#t)))))
(synopsis "Tools for the full source bootstrapping process") (synopsis "Tools for the full source bootstrapping process")
(description (description
"Mescc-tools is a collection of tools for use in a full source "Mescc-tools is a collection of tools for use in a full source