gnu: frotz-dumb-terminal: Update to 2.55.

* gnu/packages/games.scm (frotz-dumb-terminal): Update to 2.55.
[native-inputs]: Add pkg-config and which.
[arguments]<#:phases>: Set CC variable in make command during 'build phase.

Change-Id: Ic48e5593976597d742534d5b028fb54e7a9d8789
This commit is contained in:
AwesomeAdam54321 2025-07-27 00:50:06 +02:00 committed by Andreas Enge
parent 888cd83576
commit 60b8b302d6
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -9707,7 +9707,7 @@ of lore accompanying everything from planets to equipment.")
(define-public frotz-dumb-terminal
(package
(name "frotz-dumb-terminal")
(version "2.44")
(version "2.55")
(source (origin
(method url-fetch)
(uri (list (string-append
@ -9718,8 +9718,9 @@ of lore accompanying everything from planets to equipment.")
"frotz/frotz-" version ".tar.gz")))
(sha256
(base32
"1v735xr3blznac8fnwa27s1vhllx4jpz7kw7qdw1bsfj6kq21v3k"))))
"0wfqhxwgjwhgnjh1byjzsfj3mqhy5hialngyb53p5jjbz4pr3mp3"))))
(build-system gnu-build-system)
(native-inputs (list pkg-config which))
(arguments
`(#:tests? #f ; there are no tests
#:phases
@ -9727,7 +9728,7 @@ of lore accompanying everything from planets to equipment.")
(delete 'configure)
(replace 'build
(lambda _
(invoke "make" "dumb")))
(invoke "make" (string-append "CC=" ,(cc-for-target)) "dumb")))
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))