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

class Gengetopt < Formula
  url 'http://ftpmirror.gnu.org/gengetopt/gengetopt-2.22.6.tar.gz'
  mirror 'http://ftp.gnu.org/gnu/gengetopt/gengetopt-2.22.6.tar.gz'
  homepage 'http://www.gnu.org/software/gengetopt/'
  sha1 'c93bdec17f247aa32b3cd6530a6f68aa430d67f5'

  def install
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}",
                          "--mandir=#{man}"

    ENV.deparallelize
    system "make install"
  end
end