brew/Library/Homebrew/test/testball.rb

15 lines
430 B
Ruby
Raw Normal View History

class Testball < Formula
def initialize(name = "testball", path = Pathname.new(__FILE__).expand_path, spec = :stable)
2013-04-08 17:43:01 -05:00
self.class.instance_eval do
stable.url "file://#{File.expand_path("..", __FILE__)}/tarballs/testball-0.1.tbz"
2015-07-22 15:38:00 +01:00
stable.sha256 "1dfb13ce0f6143fe675b525fc9e168adb2215c5d5965c9f57306bb993170914f"
2013-04-08 17:43:01 -05:00
end
super
end
def install
prefix.install "bin"
prefix.install "libexec"
end
end