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:
parent
157db85f6d
commit
fad1165fdb
1 changed files with 17 additions and 6 deletions
|
@ -1226,7 +1226,10 @@ you must extend 'udev-service-type' with this package. E.g.:
|
||||||
(base32 "11r4i8gmxnb6ixpk4ns38c9xwj3qibp2v3pkhy2z0lhz0xxi1w4b"))))
|
(base32 "11r4i8gmxnb6ixpk4ns38c9xwj3qibp2v3pkhy2z0lhz0xxi1w4b"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list doxygen
|
(list autoconf
|
||||||
|
automake
|
||||||
|
doxygen
|
||||||
|
libtool
|
||||||
lua
|
lua
|
||||||
pkg-config
|
pkg-config
|
||||||
python-wrapper
|
python-wrapper
|
||||||
|
@ -1235,11 +1238,19 @@ you must extend 'udev-service-type' with this package. E.g.:
|
||||||
(inputs
|
(inputs
|
||||||
(list gd libusb libxml2 readline))
|
(list gd libusb libxml2 readline))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--disable-static"
|
`(#:configure-flags
|
||||||
"--with-lua-binding"
|
'("--disable-static"
|
||||||
"--with-python-binding"
|
"--with-lua-binding"
|
||||||
"--with-tcl-binding"
|
"--with-python-binding"
|
||||||
"--with-xml-support")))
|
"--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")
|
(synopsis "Tools and API to control radios")
|
||||||
(description
|
(description
|
||||||
"The Ham Radio Control Library (Hamlib) is a project to provide programs
|
"The Ham Radio Control Library (Hamlib) is a project to provide programs
|
||||||
|
|
Reference in a new issue