summaryrefslogtreecommitdiff
path: root/homebrew/cmocka/.beer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/cmocka/.beer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/cmocka/.beer')
-rw-r--r--homebrew/cmocka/.beer29
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