mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
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
1 changed files with 18 additions and 4 deletions
|
@ -815,21 +815,35 @@ (define-public procps
|
|||
(define-public usbutils
|
||||
(package
|
||||
(name "usbutils")
|
||||
(version "010")
|
||||
(version "012")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kernel.org/linux/utils/usb/usbutils/"
|
||||
"usbutils-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"06aag4jfgsfjxk563xsp9ik9nadihmasrr37a1gb0vwqni5kdiv1"))))
|
||||
(base32 "0iiy0q7fzikavmdsjsb0sl9kp3gfh701qwyjjccvqh0qz4jlcqw8"))))
|
||||
(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
|
||||
`(("libusb" ,libusb)
|
||||
("eudev" ,eudev)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
`(("autoconf" ,autoconf)
|
||||
("automake" ,automake)
|
||||
("libtool" ,libtool)
|
||||
("pkg-config" ,pkg-config)))
|
||||
(home-page "http://www.linux-usb.org/")
|
||||
(synopsis
|
||||
"Tools for working with USB devices, such as lsusb")
|
||||
|
|
Loading…
Reference in a new issue