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.
This commit is contained in:
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

View file

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