homebrew-core/Formula/tclap.rb
Juhani Simola 0b012b06ee New Formula: TCLAP
Added formula for TCLAP, Templatized C++ Command Line Parser Library

From the documentation: "TCLAP is a small, flexible library that
provides a simple interface for defining and accessing command line
arguments. It was intially inspired by the user friendly CLAP libary.
The difference is that this library is templatized, so the argument
class is type independent. Type independence avoids
identical-except-for-type objects, such as IntArg, FloatArg, and
StringArg. While the library is not strictly compliant with the GNU or
POSIX standards, it is close"

Closes Homebrew/homebrew#9065.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-15 15:10:04 -06:00

15 lines
394 B
Ruby

require 'formula'
class Tclap < Formula
url 'http://downloads.sourceforge.net/project/tclap/tclap-1.2.1.tar.gz'
homepage 'http://tclap.sourceforge.net/'
md5 'eb0521d029bf3b1cc0dcaa7e42abf82a'
def install
system "./configure", "--prefix=#{prefix}"
system "make"
# Installer scripts have problems with parallel make
ENV.deparallelize
system "make install"
end
end