diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/woboqcodebrowser | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/woboqcodebrowser')
-rw-r--r-- | homebrew/woboqcodebrowser/.beer | 33 | ||||
-rw-r--r-- | homebrew/woboqcodebrowser/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/woboqcodebrowser/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/woboqcodebrowser/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/woboqcodebrowser/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/woboqcodebrowser/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/woboqcodebrowser/download.sh | 1 |
7 files changed, 44 insertions, 0 deletions
diff --git a/homebrew/woboqcodebrowser/.beer b/homebrew/woboqcodebrowser/.beer new file mode 100644 index 000000000..de016765f --- /dev/null +++ b/homebrew/woboqcodebrowser/.beer @@ -0,0 +1,33 @@ +{ + "name": "WoboqCodebrowser", + "description": "Generate HTML from C++ Code", + "url": "https://github.com/woboq/woboq_codebrowser/archive/2.1.tar.gz", + "mirror": null, + "homepage": "https://code.woboq.org/", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "llvm@6", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = std_cmake_args + %W[", + "-DLLVM_CONFIG_EXECUTABLE=#{Formula[\"llvm@6\"].opt_bin}/llvm-config", + "-DCMAKE_EXPORT_COMPILE_COMMANDS=ON", + "]", + "system \"cmake\", \".\", *args", + "system \"make\"", + "bin.install \"indexgenerator/codebrowser_indexgenerator\",", + "\"generator/codebrowser_generator\"", + "prefix.install \"data\"" + ], + "version": "2.1", + "file": "woboq_codebrowser.rb" +}
\ No newline at end of file diff --git a/homebrew/woboqcodebrowser/.make.sh-auto b/homebrew/woboqcodebrowser/.make.sh-auto new file mode 100644 index 000000000..dcf255693 --- /dev/null +++ b/homebrew/woboqcodebrowser/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +args = std_cmake_args + %W[-DLLVM_CONFIG_EXECUTABLE=#{Formula["llvm@6"].opt_bin}/llvm-config -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ] +cmake . *args +make +bin.install "indexgenerator/codebrowser_indexgenerator", "generator/codebrowser_generator" +prefix.install "data" diff --git a/homebrew/woboqcodebrowser/_metadata/description b/homebrew/woboqcodebrowser/_metadata/description new file mode 100644 index 000000000..1b4b7e1c1 --- /dev/null +++ b/homebrew/woboqcodebrowser/_metadata/description @@ -0,0 +1 @@ +Generate HTML from C++ Code diff --git a/homebrew/woboqcodebrowser/_metadata/homepage b/homebrew/woboqcodebrowser/_metadata/homepage new file mode 100644 index 000000000..635e357ce --- /dev/null +++ b/homebrew/woboqcodebrowser/_metadata/homepage @@ -0,0 +1 @@ +https://code.woboq.org/ diff --git a/homebrew/woboqcodebrowser/_metadata/name b/homebrew/woboqcodebrowser/_metadata/name new file mode 100644 index 000000000..027a3bd7d --- /dev/null +++ b/homebrew/woboqcodebrowser/_metadata/name @@ -0,0 +1 @@ +WoboqCodebrowser diff --git a/homebrew/woboqcodebrowser/_metadata/version b/homebrew/woboqcodebrowser/_metadata/version new file mode 100644 index 000000000..879b416e6 --- /dev/null +++ b/homebrew/woboqcodebrowser/_metadata/version @@ -0,0 +1 @@ +2.1 diff --git a/homebrew/woboqcodebrowser/download.sh b/homebrew/woboqcodebrowser/download.sh new file mode 100755 index 000000000..6d9f83ae7 --- /dev/null +++ b/homebrew/woboqcodebrowser/download.sh @@ -0,0 +1 @@ +wget https://github.com/woboq/woboq_codebrowser/archive/2.1.tar.gz
\ No newline at end of file |