brew/Library/Homebrew/test/testball.rb

14 lines
397 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"
2014-03-03 15:04:23 -06:00
stable.sha1 "482e737739d946b7c8cbaf127d9ee9c148b999f5"
2013-04-08 17:43:01 -05:00
end
super
end
def install
prefix.install "bin"
prefix.install "libexec"
end
end