me
/
guix
Archived
1
0
Fork 0

gnu: minicom: Update package style.

* gnu/packages/engineering.scm (minicom)[arguments]:
Rewrite as G-expressions.
[native-inputs]: Remove input labels.
master
Tobias Geerinckx-Rice 2023-09-24 02:00:00 +02:00
parent fd2f78f5fc
commit e82cd9176e
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 17 additions and 18 deletions

View File

@ -1499,25 +1499,24 @@ replacement for the OpenDWG libraries.")
(file-name (git-file-name name version))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags '("--enable-lock-dir=/var/lock")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable
(lambda _
(for-each make-file-writable (find-files "."))))
(replace 'bootstrap
;; autogen.sh needlessly hard-codes aclocal-1.14.
(lambda _
(invoke "autoreconf" "-vif")))
(add-before 'configure 'patch-lock-check
(lambda _
(substitute* "configure"
(("test -d [$]UUCPLOCK") "true")))))))
(list
#:configure-flags
#~(list "--enable-lock-dir=/var/lock")
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'make-git-checkout-writable
(lambda _
(for-each make-file-writable (find-files "."))))
(replace 'bootstrap
;; autogen.sh needlessly hard-codes aclocal-1.14.
(lambda _
(invoke "autoreconf" "-vif")))
(add-before 'configure 'patch-lock-check
(lambda _
(substitute* "configure"
(("test -d [$]UUCPLOCK") "true")))))))
(native-inputs
`(("autoconf" ,autoconf-2.71)
("automake" ,automake)
("gettext" ,gettext-minimal)
("pkg-config" ,pkg-config)))
(list autoconf-2.71 automake gettext-minimal pkg-config))
(inputs
(list ncurses))
(home-page "https://salsa.debian.org/minicom-team/minicom")