Skip to content

Commit

Permalink
cmocka 0.2.0
Browse files Browse the repository at this point in the history
The idea of CMocka is that a test application only requires the standard C
library and CMocka itself to minimize the conflicts with standard C library
headers especially on a lot of different platforms. It is a fork of cmockery
(also in homebrew) which is not maintained anymore.

Closes Homebrew#17092.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
arisada authored and adamv committed Jan 15, 2013
1 parent 27eebef commit cc25e3f
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Library/Formula/cmocka.rb
@@ -0,0 +1,17 @@
require 'formula'

class Cmocka < Formula
homepage 'http://cmocka.cryptomilk.org/'
url 'https://open.cryptomilk.org/attachments/download/7/cmocka-0.2.0.tar.gz'
sha1 '6d3aa2c201cb390d6bf5929eba75d9e77bfe4159'

depends_on 'cmake' => :build

def install
mkdir 'build' do
system "cmake", "..", "-DUNIT_TESTING=On", *std_cmake_args
system "make"
system "make install"
end
end
end

0 comments on commit cc25e3f

Please sign in to comment.