Skip to content

Commit

Permalink
Added formula for homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
apla committed Jul 27, 2017
1 parent 93173f6 commit e0b3c16
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Formula/uhubctl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
class Uhubctl < Formula
desc "control USB hubs powering per-port"
homepage "https://github.com/mvp/uhubctl"
head "https://github.com/mvp/uhubctl.git"

depends_on "libusb"

def install
system "make"
bin.install "uhubctl"
end

test do
system "#{bin}/uhubctl", "-v"
end
end

0 comments on commit e0b3c16

Please sign in to comment.