diff options
Diffstat (limited to 'homebrew/jsonspirit')
-rw-r--r-- | homebrew/jsonspirit/.beer | 32 | ||||
-rw-r--r-- | homebrew/jsonspirit/.make.sh-auto | 9 | ||||
-rw-r--r-- | homebrew/jsonspirit/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/jsonspirit/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/jsonspirit/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/jsonspirit/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/jsonspirit/download.sh | 1 |
7 files changed, 46 insertions, 0 deletions
diff --git a/homebrew/jsonspirit/.beer b/homebrew/jsonspirit/.beer new file mode 100644 index 000000000..0d9de9068 --- /dev/null +++ b/homebrew/jsonspirit/.beer @@ -0,0 +1,32 @@ +{ + "name": "JsonSpirit", + "description": "C++ JSON parser/generator", + "url": "https://github.com/png85/json_spirit/archive/json_spirit-4.0.8.tar.gz", + "mirror": null, + "homepage": "https://www.codeproject.com/Articles/20027/JSON-Spirit-A-C-JSON-Parser-Generator-Implemented", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "boost", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "args = std_cmake_args", + "args << \"-DBUILD_STATIC_LIBRARIES=ON\"", + "system \"cmake\", *args", + "system \"make\"", + "args = std_cmake_args", + "args << \"-DBUILD_STATIC_LIBRARIES=OFF\"", + "system \"cmake\", *args", + "system \"make\", \"install\"" + ], + "version": "4.0.8", + "file": "json_spirit.rb" +}
\ No newline at end of file diff --git a/homebrew/jsonspirit/.make.sh-auto b/homebrew/jsonspirit/.make.sh-auto new file mode 100644 index 000000000..77a1e7ee4 --- /dev/null +++ b/homebrew/jsonspirit/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +args = std_cmake_args +args << "-DBUILD_STATIC_LIBRARIES=ON" +cmake *args +make +args = std_cmake_args +args << "-DBUILD_STATIC_LIBRARIES=OFF" +cmake *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/jsonspirit/_metadata/description b/homebrew/jsonspirit/_metadata/description new file mode 100644 index 000000000..3673e0b5b --- /dev/null +++ b/homebrew/jsonspirit/_metadata/description @@ -0,0 +1 @@ +C++ JSON parser/generator diff --git a/homebrew/jsonspirit/_metadata/homepage b/homebrew/jsonspirit/_metadata/homepage new file mode 100644 index 000000000..dbb94c390 --- /dev/null +++ b/homebrew/jsonspirit/_metadata/homepage @@ -0,0 +1 @@ +https://www.codeproject.com/Articles/20027/JSON-Spirit-A-C-JSON-Parser-Generator-Implemented diff --git a/homebrew/jsonspirit/_metadata/name b/homebrew/jsonspirit/_metadata/name new file mode 100644 index 000000000..0ffb4cb61 --- /dev/null +++ b/homebrew/jsonspirit/_metadata/name @@ -0,0 +1 @@ +JsonSpirit diff --git a/homebrew/jsonspirit/_metadata/version b/homebrew/jsonspirit/_metadata/version new file mode 100644 index 000000000..a2cec7aff --- /dev/null +++ b/homebrew/jsonspirit/_metadata/version @@ -0,0 +1 @@ +4.0.8 diff --git a/homebrew/jsonspirit/download.sh b/homebrew/jsonspirit/download.sh new file mode 100755 index 000000000..dcba1a9e1 --- /dev/null +++ b/homebrew/jsonspirit/download.sh @@ -0,0 +1 @@ +wget https://github.com/png85/json_spirit/archive/json_spirit-4.0.8.tar.gz
\ No newline at end of file |