2012-09-30 19:39:35 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Argtable < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "ANSI C library for parsing GNU-style command-line options"
|
2012-09-30 19:39:35 +00:00
|
|
|
homepage 'http://argtable.sourceforge.net'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/argtable/argtable/argtable-2.13/argtable2-13.tar.gz'
|
2012-09-30 19:39:35 +00:00
|
|
|
version '2.13'
|
|
|
|
sha1 'bce828c64c35e16f4c3f8e1f355e4a2a97fe3289'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|