Skip to content

Commit

Permalink
avarice - add formula
Browse files Browse the repository at this point in the history
Closes #212.

Signed-off-by: osxCrossTestBot <[email protected]>
  • Loading branch information
ladislas authored and osxCrossTestBot committed Jan 14, 2021
1 parent ea8d601 commit bdb844f
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Formula/avarice.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
class Avarice < Formula
desc "Lets you interface GDB with the AVR JTAG ICE available from Atmel"
homepage "https://avarice.sourceforge.io/"

url "https://downloads.sourceforge.net/project/avarice/avarice/avarice-2.13/avarice-2.13.tar.bz2"
mirror "https://netix.dl.sourceforge.net/project/avarice/avarice/avarice-2.13/avarice-2.13.tar.bz2"
sha256 "a14738fe78e1a0a9321abcca7e685a00ce3ced207622ccbcd881ac32030c104a"

depends_on "automake"
depends_on "avr-binutils"
depends_on "hidapi"

def install
system "./Bootstrap" if build.head?
system "./configure",
"--disable-debug",
"--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end

test do
system "true"
end
end

0 comments on commit bdb844f

Please sign in to comment.