guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] gnu: Add dfu-util.


From: Ludovic Courtès
Subject: Re: [PATCH 2/2] gnu: Add dfu-util.
Date: Wed, 01 Jun 2016 22:24:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hartmut Goebel <address@hidden> skribis:

> * gnu/packages/flashing-tools.scm (dfu-util): New variable.

Applied with minor changes:

> +    (version "0.9")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri "http://dfu-util.sourceforge.net/releases/dfu-util-0.9.tar.gz";)

Refer to ‘version’ here, and slightly reindented.

> +    (arguments
> +     '(#:phases
> +       (modify-phases %standard-phases
> +         (add-before 'configure 'autoconf
> +           (lambda _ (zero? (system* "autoreconf" "-vfi")))))))
> +    (inputs
> +     `(("libusb" ,libusb)))
> +    (native-inputs
> +     `(("autoconf" ,autoconf)
> +       ("automake" ,automake)

Autoconf, Automake, and the ‘autoconf’ phase are not needed, so I
removed them.

> +    (synopsis "Host (PC) side of the USB Device Firmware Upgrade (DFU) 1.0 
> and 1.1 protocol")

Slightly shortened this one.

Thank you!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]