-
Notifications
You must be signed in to change notification settings - Fork 78
/
Copy pathavarice.rb
34 lines (28 loc) · 1.02 KB
/
avarice.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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"
revision 2
bottle do
root_url "https://github.com/osx-cross/homebrew-avr/releases/download/avarice-2.13_2"
sha256 cellar: :any, big_sur: "3c8e9da754a3b88ce16d5bb1909e400017381369bd65e21a1e086e10c657821d"
end
depends_on "automake"
depends_on "hidapi"
depends_on "libusb-compat"
depends_on "osx-cross/avr/avr-binutils"
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