Skip to content

Commit

Permalink
tpl 1.6.1 (new formula)
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#26738.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
  • Loading branch information
alexreg authored and MikeMcQuaid committed Feb 21, 2014
1 parent 69db0e2 commit 7c88fc2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions 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

0 comments on commit 7c88fc2

Please sign in to comment.