2014-01-21 16:56:42 +00:00
|
|
|
class Rig < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Provides fake name and address data"
|
2014-01-21 16:56:42 +00:00
|
|
|
homepage "http://rig.sourceforge.net/"
|
2014-02-27 14:19:55 +00:00
|
|
|
url "https://downloads.sourceforge.net/project/rig/rig/1.11/rig-1.11.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "00bfc970d5c038c1e68bc356c6aa6f9a12995914b7d4fda69897622cb5b77ab8"
|
2014-01-21 16:56:42 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
2015-08-03 12:55:31 +00:00
|
|
|
bin.install "rig"
|
|
|
|
(share/"rig").install Dir["data/*"]
|
2014-01-21 16:56:42 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/rig"
|
|
|
|
end
|
|
|
|
end
|