diff options
Diffstat (limited to 'homebrew/cmocka/.beer')
-rw-r--r-- | homebrew/cmocka/.beer | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/cmocka/.beer b/homebrew/cmocka/.beer new file mode 100644 index 000000000..9b71c8a07 --- /dev/null +++ b/homebrew/cmocka/.beer @@ -0,0 +1,29 @@ +{ + "name": "Cmocka", + "description": "Unit testing framework for C", + "url": "https://cmocka.org/files/1.1/cmocka-1.1.3.tar.xz", + "mirror": null, + "homepage": "https://cmocka.org/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = std_cmake_args", + "args << \"-DWITH_STATIC_LIB=ON\" << \"-DWITH_CMOCKERY_SUPPORT=ON\" << \"-DUNIT_TESTING=ON\"", + "if MacOS.version == \"10.11\" && MacOS::Xcode.version >= \"8.0\"", + "args << \"-DHAVE_CLOCK_GETTIME:INTERNAL=0\"", + "end", + "mkdir \"build\" do", + "system \"cmake\", \"..\", *args", + "system \"make\"", + "system \"make\", \"install\"" + ], + "version": "1.1.3", + "file": "cmocka.rb" +}
\ No newline at end of file |