From 425d475be18febda04b91d51d077191832ea089f Mon Sep 17 00:00:00 2001 From: Ryota Ozaki Date: Mon, 7 Oct 2013 23:52:46 +0900 Subject: cppi 1.18 Closes #23102. Signed-off-by: Adam Vandenberg --- Library/Formula/cppi.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Library/Formula/cppi.rb (limited to 'Library/Formula/cppi.rb') diff --git a/Library/Formula/cppi.rb b/Library/Formula/cppi.rb new file mode 100644 index 000000000..06d02e474 --- /dev/null +++ b/Library/Formula/cppi.rb @@ -0,0 +1,21 @@ +require 'formula' + +class Cppi < Formula + homepage 'http://www.gnu.org/software/cppi/' + url 'http://ftpmirror.gnu.org/cppi/cppi-1.18.tar.xz' + mirror 'http://ftp.gnu.org/cppi/cppi-1.18.tar.xz' + sha1 '5f46d04041fc6e3413d5312db5b99329143a7c33' + + def install + system "./configure", "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make" + system "make", "check" + system "make", "install" + end + + test do + system "#{bin}/cppi", "--version" + end +end -- cgit v1.2.3