lm4tools 0.1.3 (new formula)
Closes #25140. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
31ba7be4a0
commit
f5b0b8fbb6
1 changed files with 18 additions and 0 deletions
18
Formula/lm4tools.rb
Normal file
18
Formula/lm4tools.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
class Lm4tools < Formula
|
||||
desc "Tools for TI Stellaris Launchpad boards"
|
||||
homepage "https://github.com/utzig/lm4tools"
|
||||
url "https://github.com/utzig/lm4tools/archive/v0.1.3.tar.gz"
|
||||
sha256 "e8064ace3c424b429b7e0b50e58b467d8ed92962b6a6dfa7f6a39942416b1627"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libusb"
|
||||
|
||||
def install
|
||||
system "make", "install", "PREFIX=#{prefix}"
|
||||
end
|
||||
|
||||
test do
|
||||
output = shell_output("echo data | #{bin}/lm4flash - 2>&1", 2)
|
||||
assert_equal "Unable to find any ICDI devices\n", output
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue