2010-03-02 22:54:12 -08:00
|
|
|
require 'formula'
|
|
|
|
|
2012-06-20 00:51:01 -05:00
|
|
|
class TestBall < Formula
|
2014-06-19 21:35:46 -05:00
|
|
|
def initialize(name="test_ball", path=Pathname.new(__FILE__).expand_path, spec=:stable)
|
2013-04-08 17:43:01 -05:00
|
|
|
self.class.instance_eval do
|
2014-06-12 17:58:12 -05:00
|
|
|
stable.url "file://#{TEST_DIRECTORY}/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
|
2013-04-10 12:02:35 -05:00
|
|
|
super
|
2010-03-02 22:54:12 -08:00
|
|
|
end
|
|
|
|
def install
|
|
|
|
prefix.install "bin"
|
|
|
|
prefix.install "libexec"
|
|
|
|
end
|
|
|
|
end
|