Skip to content

Commit

Permalink
Fix avr-binutils
Browse files Browse the repository at this point in the history
- remove license
- remoce livecheck
- add test back
  • Loading branch information
ladislas committed Jan 12, 2021
1 parent 907c7fb commit 1d4d1cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Formula/avr-binutils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ class AvrBinutils < Formula
url "https://ftp.gnu.org/gnu/binutils/binutils-2.35.1.tar.xz"
mirror "https://ftpmirror.gnu.org/binutils/binutils-2.35.1.tar.xz"
sha256 "3ced91db9bf01182b7e420eab68039f2083aed0a214c0424e257eae3ddee8607"
license all_of: ["GPL-2.0-or-later", "GPL-3.0-or-later", "LGPL-2.0-or-later", "LGPL-3.0-only"]

livecheck do
url :stable
end

bottle do
root_url "https://github.com/osx-cross/homebrew-avr/releases/download/avr-binutils-2.35.1"
Expand Down Expand Up @@ -51,4 +46,9 @@ def install

info.rmtree # info files conflict with native binutils
end

test do
version_output = "GNU ld (GNU Binutils) 2.35.1\n"
assert_equal `avr-ld -v`, version_output
end
end

0 comments on commit 1d4d1cb

Please sign in to comment.