nestopia-ue: import from homebrew/games.

master
Mike McQuaid 2017-02-06 10:26:56 +00:00
parent a95b7f3e02
commit d4c8fa7e2d
1 changed files with 28 additions and 0 deletions

28
Formula/nestopia-ue.rb Normal file
View File

@ -0,0 +1,28 @@
class NestopiaUe < Formula
desc "Nestopia UE (Undead Edition): NES emulator"
homepage "http://0ldsk00l.ca/nestopia/"
url "https://downloads.sourceforge.net/project/nestopiaue/1.47/nestopia-1.47.tgz"
sha256 "84624d30ab05d609db2734db0065616b268f79d4aa35f1cd90cb35ee8d96be0c"
head "https://github.com/rdanbrook/nestopia.git"
bottle do
sha256 "70c485d2d1cd9dd4aa7cbf78cf2acb532bbc5c90e553a5e00a3d6a112704e7df" => :el_capitan
sha256 "0cd58c71d243e7adf02761a83d5fb479b5cdf3778cfb023e57dac7fd48c3490d" => :yosemite
sha256 "e9d6496a8b23a17c1a3a46695e5e41b75a8d08275271fd4e23bbe9ed5b92eb94" => :mavericks
end
depends_on "sdl2"
depends_on "libao"
depends_on "libarchive"
depends_on "libepoxy"
def install
system "make", "PREFIX=#{prefix}", "DATADIR=#{pkgshare}"
bin.install "nestopia"
pkgshare.install "NstDatabase.xml"
end
test do
assert_match /Nestopia UE #{version}$/, shell_output("#{bin}/nestopia --version")
end
end