2011-12-18 17:42:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class NumUtils < Formula
|
2012-05-15 18:31:21 +00:00
|
|
|
homepage 'http://suso.suso.org/programs/num-utils/'
|
2011-12-18 17:42:14 +00:00
|
|
|
url "http://suso.suso.org/programs/num-utils/downloads/num-utils-0.5.tar.gz"
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '3fc6130874129fe1e98db6db8b3dc43f0e1a89ac'
|
2011-12-18 17:42:14 +00:00
|
|
|
|
2013-11-13 04:46:19 +00:00
|
|
|
conflicts_with 'normalize', :because => 'both install `normalize` binaries'
|
|
|
|
|
2011-12-18 17:42:14 +00:00
|
|
|
def install
|
2013-11-13 04:46:19 +00:00
|
|
|
%w(average bound interval normalize numgrep numprocess numsum random range round).each do |p|
|
|
|
|
system "pod2man", p, "#{p}.1"
|
|
|
|
bin.install p
|
|
|
|
man1.install "#{p}.1"
|
2011-12-18 17:42:14 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|