gnu: hamlib: Rebuild broken configure script.

* gnu/packages/radio.scm (hamlib)[native-inputs]: Add autoconf, automake, and libtool.
[arguments]: Add a new 'force-bootstrap phase.
This commit is contained in:
Tobias Geerinckx-Rice 2022-10-23 02:00:00 +02:00
parent 157db85f6d
commit fad1165fdb
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

View File

@ -1226,7 +1226,10 @@ you must extend 'udev-service-type' with this package. E.g.:
(base32 "11r4i8gmxnb6ixpk4ns38c9xwj3qibp2v3pkhy2z0lhz0xxi1w4b"))))
(build-system gnu-build-system)
(native-inputs
(list doxygen
(list autoconf
automake
doxygen
libtool
lua
pkg-config
python-wrapper
@ -1235,11 +1238,19 @@ you must extend 'udev-service-type' with this package. E.g.:
(inputs
(list gd libusb libxml2 readline))
(arguments
`(#:configure-flags '("--disable-static"
"--with-lua-binding"
"--with-python-binding"
"--with-tcl-binding"
"--with-xml-support")))
`(#:configure-flags
'("--disable-static"
"--with-lua-binding"
"--with-python-binding"
"--with-tcl-binding"
"--with-xml-support")
#:phases
(modify-phases %standard-phases
(add-before 'bootstrap 'force-bootstrap
;; The included configure script is misbuilt. It will never find
;; pkg-config, and hence any libraries that rely on it. Rebuild it.
(lambda _
(delete-file "configure"))))))
(synopsis "Tools and API to control radios")
(description
"The Ham Radio Control Library (Hamlib) is a project to provide programs