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>
This commit is contained in:
Juhani Simola 2011-12-09 19:50:27 +02:00 committed by Jack Nagel
parent bab5bc50b4
commit 0b012b06ee

15
Formula/tclap.rb Normal file
View file

@ -0,0 +1,15 @@
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