gnu: usbutils: Update to 012.
* gnu/packages/linux.scm (usbutils): Update to 012. [arguments]: Add ‘patch-bootstrap-scripts’ phase. [native-inputs]: Add autoconf, automake, and libtool.
This commit is contained in:
parent
26fad5b7df
commit
5b26635893
|
@ -815,21 +815,35 @@ slabtop, and skill.")
|
||||||
(define-public usbutils
|
(define-public usbutils
|
||||||
(package
|
(package
|
||||||
(name "usbutils")
|
(name "usbutils")
|
||||||
(version "010")
|
(version "012")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
|
(uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
|
||||||
"usbutils-" version ".tar.xz"))
|
"usbutils-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0iiy0q7fzikavmdsjsb0sl9kp3gfh701qwyjjccvqh0qz4jlcqw8"))))
|
||||||
"06aag4jfgsfjxk563xsp9ik9nadihmasrr37a1gb0vwqni5kdiv1"))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'bootstrap 'patch-bootstrap-scripts
|
||||||
|
(lambda _
|
||||||
|
(substitute* "usbhid-dump/bootstrap"
|
||||||
|
(("/bin/bash") (which "bash")))
|
||||||
|
|
||||||
|
;; Don't let autogen.sh run configure with bogus options & CFLAGS.
|
||||||
|
(substitute* "autogen.sh"
|
||||||
|
(("^\\./configure.*") ""))
|
||||||
|
#t)))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("libusb" ,libusb)
|
`(("libusb" ,libusb)
|
||||||
("eudev" ,eudev)))
|
("eudev" ,eudev)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("autoconf" ,autoconf)
|
||||||
|
("automake" ,automake)
|
||||||
|
("libtool" ,libtool)
|
||||||
|
("pkg-config" ,pkg-config)))
|
||||||
(home-page "http://www.linux-usb.org/")
|
(home-page "http://www.linux-usb.org/")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Tools for working with USB devices, such as lsusb")
|
"Tools for working with USB devices, such as lsusb")
|
||||||
|
|
Loading…
Reference in New Issue