blob: dfa2b42012e6ddab3c45ec0397bb28a6fbd41670 (
plain)
| 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
 | class Ponysay < Formula
  homepage "http://erkin.co/ponysay/"
  url "https://github.com/erkin/ponysay/archive/3.0.2.tar.gz"
  sha1 "e152b4ffea3dff8d2ca18ab597344e9b50ab78e6"
  bottle do
    revision 1
    sha1 "77682c4c9a1114e8c71d27ef21483ea709ec8614" => :yosemite
    sha1 "90083a6bd5118323ae7ea7b3117c43c6b10bdd72" => :mavericks
    sha1 "085a01cbf4ee1ed72361e87a040578e72369799e" => :mountain_lion
  end
  depends_on :python3
  depends_on "coreutils"
  def install
    system "./setup.py",
           "--freedom=partial",
           "--prefix=#{prefix}",
           "--cache-dir=#{prefix}/var/cache",
           "--sysconf-dir=#{prefix}/etc",
           "install"
  end
  test do
    system "#{bin}/ponysay", "-A"
  end
end
 |