homebrew-core/Formula/ems-flasher.rb
2017-02-08 10:12:15 +00:00

26 lines
834 B
Ruby

class EmsFlasher < Formula
desc "Software for flashing the EMS Gameboy USB cart"
homepage "https://lacklustre.net/projects/ems-flasher/"
url "https://lacklustre.net/projects/ems-flasher/ems-flasher-0.03.tgz"
sha256 "d77723a3956e00a9b8af9a3545ed2c55cd2653d65137e91b38523f7805316786"
head "git://lacklustre.net/ems-flasher"
bottle do
cellar :any
sha256 "51ac3640147a25c8cf9f1177c2f3c430fa3c6a95d75022544eea825b14934593" => :sierra
sha256 "2be0a155a5442879c3cfa7a804e125be814bb3d1b5c002326a33e0b84ce6024b" => :el_capitan
sha256 "3f978e8b96d4c1f0464ce2d4af86ff5bac6cb60810e1b8d81ce4fe55bb2abb63" => :yosemite
end
depends_on "pkg-config" => :build
depends_on "libusb"
def install
system "make"
bin.install "ems-flasher"
end
test do
system "#{bin}/ems-flasher", "--version"
end
end