forked from ziz/homebrew-games
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheasyrpg-player.rb
38 lines (34 loc) · 1.25 KB
/
easyrpg-player.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
35
36
37
38
class EasyrpgPlayer < Formula
desc "RPG Maker 2000/2003 games interpreter"
homepage "https://easy-rpg.org/"
url "https://github.com/EasyRPG/Player/archive/0.3.2.tar.gz"
sha256 "ef9c751521930890eb8dab9f7fa40b6614c47ec3aa2e72b7bd4d6c4e162b9449"
head "https://github.com/EasyRPG/Player.git"
bottle do
cellar :any
sha256 "d593abf3cd8e51ff7c5543760b5bfa3a6abd399d5a45bde846a19314ac01048b" => :el_capitan
sha256 "ff258675a7533b022b90cb662cee3e12da3cd4007f62d18ee4e3486798988675" => :yosemite
sha256 "631284d8f58da6c0b93e2ea6d35152f19bffbda711ba015145e9be81b4c5e23e" => :mavericks
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "boost" => :build
depends_on "liblcf"
depends_on "libpng"
depends_on "freetype"
depends_on "pixman"
depends_on "sdl2"
depends_on "sdl2_mixer" => "with-libvorbis"
def install
system "autoreconf", "-i"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match /EasyRPG Player #{version}$/, shell_output("#{bin}/easyrpg-player -v")
end
end