aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/num-utils.rb
blob: 070e13f02e9c3feb779b441b5cd4fd6f4baec3d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
require 'formula'

class NumUtils < Formula
  homepage 'http://suso.suso.org/programs/num-utils/'
  url "http://suso.suso.org/programs/num-utils/downloads/num-utils-0.5.tar.gz"
  sha1 '3fc6130874129fe1e98db6db8b3dc43f0e1a89ac'

  conflicts_with 'normalize', :because => 'both install `normalize` binaries'

  def install
    %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"
    end
  end
end