From 12335518ab39608d58370c85ff9f5384ad2aa5f7 Mon Sep 17 00:00:00 2001 From: MCApollo <34170230+MCApollo@users.noreply.github.com> Date: Sat, 20 Apr 2019 20:49:46 -0500 Subject: Ported in the homebrew-marauder for a hacky update/import system. TODO: Maybe add a license & fix up messy code. --- homebrew/cmocka/.beer | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 homebrew/cmocka/.beer (limited to 'homebrew/cmocka/.beer') 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 -- cgit v1.2.3