diff options
| author | Alex Regueiro | 2014-02-15 00:42:38 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-21 11:26:05 +0000 |
| commit | bc5fb7414ab5f3fa697343318a971c5563d1ca0c (patch) | |
| tree | 7d7dfba017820f01d9877edcc43d81f5536b4257 /Library | |
| parent | f9bae11ec1dd7fcc35f032efaafa725c32b57695 (diff) | |
| download | homebrew-bc5fb7414ab5f3fa697343318a971c5563d1ca0c.tar.bz2 | |
tpl 1.6.1 (new formula)
Closes #26738.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/tpl.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Library/Formula/tpl.rb b/Library/Formula/tpl.rb new file mode 100644 index 000000000..278cec893 --- /dev/null +++ b/Library/Formula/tpl.rb @@ -0,0 +1,29 @@ +require "formula" + +class Tpl < Formula + homepage "http://troydhanson.github.io/tpl/" + url "https://github.com/troydhanson/tpl/archive/v1.6.1.tar.gz" + sha1 "2ee92627e8f67400061d8fc606b601988ed90217" + head "https://github.com/troydhanson/tpl.git" + + option "with-tests", "Verify the build using the test suite." + + depends_on :autoconf + depends_on :automake + depends_on :libtool + + def install + system "autoreconf", "-i" + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make", "install" + + if build.with? "tests" + cd "tests" do + system "make" + end + end + end +end |
