build: Release update.

* configure (main): Make hex2 required.
* guix.scm (mes): Add mescc-tools to propagated-inputs.  Update commit, hash.
This commit is contained in:
Jan Nieuwenhuizen 2017-06-25 17:40:38 +02:00
parent 97951fd47e
commit bf4608ff94
2 changed files with 8 additions and 7 deletions

8
configure vendored
View file

@ -216,6 +216,10 @@ Usage: ./configure [OPTION]...
(verbose? (option-ref options 'verbose #f)) (verbose? (option-ref options 'verbose #f))
(with-courage? (option-ref options 'with-courage #f))) (with-courage? (option-ref options 'with-courage #f)))
(set! *verbose?* verbose?) (set! *verbose?* verbose?)
(check-version 'guile '(2 0))
(check-version HEX2 '(0 0))
(check-version 'nyacc '(0 78 0) #:command (string-append GUILE " -c '(use-modules (nyacc lalr)) (display *nyacc-version*)'"))
(check-version 'bash '(4 0)) (check-version 'bash '(4 0))
(when (and (not (member ARCH '("i686" "x86_64"))) (not with-courage?)) (when (and (not (member ARCH '("i686" "x86_64"))) (not with-courage?))
(stderr "platform not supported: ~a, try --with-courage\n" ARCH) (stderr "platform not supported: ~a, try --with-courage\n" ARCH)
@ -227,12 +231,8 @@ Usage: ./configure [OPTION]...
(check-header-c "limits.h" "linux-headers")) (check-header-c "limits.h" "linux-headers"))
(if (not (check-version CC32 '(4 8) #:optional? #t)) (if (not (check-version CC32 '(4 8) #:optional? #t))
(set! CC32 #f)) (set! CC32 #f))
(check-version 'guile '(2 0))
(check-version 'make '(4 0)) (check-version 'make '(4 0))
(check-version 'perl '(5)) (check-version 'perl '(5))
(check-version 'nyacc '(0 78 0) #:command (string-append GUILE " -c '(use-modules (nyacc lalr)) (display *nyacc-version*)'"))
(if (not (check-version HEX2 '(0) #:optional? #t))
(set! HEX2 #f))
(when (pair? required) (when (pair? required)
(stderr "\nMissing dependencies [~a], run\n\n" ((->string ", ") required)) (stderr "\nMissing dependencies [~a], run\n\n" ((->string ", ") required))

View file

@ -81,7 +81,7 @@
(_ #f))))) (_ #f)))))
(define-public mes (define-public mes
(let ((commit "7fdca75d2188b28df806b34ec92627d57aafa9ae") (let ((commit "ec072e8625e72b89301ad1746d839c6529188b6f")
(revision "0") (revision "0")
(triplet "i686-unknown-linux-gnu") (triplet "i686-unknown-linux-gnu")
(version "0.7")) (version "0.7"))
@ -95,11 +95,12 @@
(commit commit))) (commit commit)))
(file-name (string-append name "-" version)) (file-name (string-append name "-" version))
(sha256 (sha256
(base32 "0fvzr1ai2rmi46zdi5b2bdjb6s8ip78mkmsk02yxl46rajmp2pb1")))) (base32 "0g9xqqpmj8319hc1931bycj88p16iw50w5rakax3jdj01gr0x6i7"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(supported-systems '("i686-linux" "x86_64-linux")) (supported-systems '("i686-linux" "x86_64-linux"))
(propagated-inputs (propagated-inputs
`(("nyacc" ,nyacc))) `(("mescc-tools" ,mescc-tools)
("nyacc" ,nyacc)))
(native-inputs (native-inputs
`(("guile" ,guile-2.2) `(("guile" ,guile-2.2)
,@(if (string-prefix? "x86_64-linux" (or (%current-target-system) ,@(if (string-prefix? "x86_64-linux" (or (%current-target-system)