diff options
| author | Ryota Ozaki | 2013-10-07 23:52:46 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-04 20:54:54 -0800 |
| commit | 425d475be18febda04b91d51d077191832ea089f (patch) | |
| tree | 56b4b113575ca22c66ae04d874d76f5b64f9cefb /Library | |
| parent | 5b9cc06d51442ccf7fe9fc5e7e9d750670163739 (diff) | |
| download | homebrew-425d475be18febda04b91d51d077191832ea089f.tar.bz2 | |
cppi 1.18
Closes #23102.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cppi.rb | 21 |
1 files changed, 21 insertions, 0 deletions
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 |
