blob: c1b09111b9eedd93ade80f2cf95c8e920d87d7cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class Testball < Formula
def initialize(name = "testball", path = Pathname.new(__FILE__).expand_path, spec = :stable)
self.class.instance_eval do
stable.url "file://#{File.expand_path("..", __FILE__)}/tarballs/testball-0.1.tbz"
stable.sha256 TESTBALL_SHA256
end
super
end
def install
prefix.install "bin"
prefix.install "libexec"
Dir.chdir "doc"
end
end
|