cppi 1.18
Closes Homebrew/homebrew#23102. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
a2ee71cf63
commit
d6baf19237
1 changed files with 21 additions and 0 deletions
21
Formula/cppi.rb
Normal file
21
Formula/cppi.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue