summaryrefslogtreecommitdiff
path: root/homebrew/opentracingcpp
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/opentracingcpp')
-rw-r--r--homebrew/opentracingcpp/.beer24
-rw-r--r--homebrew/opentracingcpp/.make.sh-auto5
-rw-r--r--homebrew/opentracingcpp/_metadata/description1
-rw-r--r--homebrew/opentracingcpp/_metadata/homepage1
-rw-r--r--homebrew/opentracingcpp/_metadata/name1
-rw-r--r--homebrew/opentracingcpp/_metadata/version1
-rwxr-xr-xhomebrew/opentracingcpp/download.sh1
7 files changed, 34 insertions, 0 deletions
diff --git a/homebrew/opentracingcpp/.beer b/homebrew/opentracingcpp/.beer
new file mode 100644
index 000000000..7783fb58a
--- /dev/null
+++ b/homebrew/opentracingcpp/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "OpentracingCpp",
+ "description": "OpenTracing API for C++",
+ "url": "https://github.com/opentracing/opentracing-cpp/archive/v1.5.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://opentracing.io/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\", *std_cmake_args",
+ "system \"make\", \"install\"",
+ "pkgshare.install \"example/tutorial/tutorial-example.cpp\"",
+ "pkgshare.install \"example/tutorial/text_map_carrier.h\""
+ ],
+ "version": "1.5.1",
+ "file": "opentracing-cpp.rb"
+} \ No newline at end of file
diff --git a/homebrew/opentracingcpp/.make.sh-auto b/homebrew/opentracingcpp/.make.sh-auto
new file mode 100644
index 000000000..4e67c3cc9
--- /dev/null
+++ b/homebrew/opentracingcpp/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "example/tutorial/tutorial-example.cpp"
+pkgshare.install "example/tutorial/text_map_carrier.h"
diff --git a/homebrew/opentracingcpp/_metadata/description b/homebrew/opentracingcpp/_metadata/description
new file mode 100644
index 000000000..e9927ff18
--- /dev/null
+++ b/homebrew/opentracingcpp/_metadata/description
@@ -0,0 +1 @@
+OpenTracing API for C++
diff --git a/homebrew/opentracingcpp/_metadata/homepage b/homebrew/opentracingcpp/_metadata/homepage
new file mode 100644
index 000000000..f28de706a
--- /dev/null
+++ b/homebrew/opentracingcpp/_metadata/homepage
@@ -0,0 +1 @@
+https://opentracing.io/
diff --git a/homebrew/opentracingcpp/_metadata/name b/homebrew/opentracingcpp/_metadata/name
new file mode 100644
index 000000000..0a8b6b5f7
--- /dev/null
+++ b/homebrew/opentracingcpp/_metadata/name
@@ -0,0 +1 @@
+OpentracingCpp
diff --git a/homebrew/opentracingcpp/_metadata/version b/homebrew/opentracingcpp/_metadata/version
new file mode 100644
index 000000000..26ca59460
--- /dev/null
+++ b/homebrew/opentracingcpp/_metadata/version
@@ -0,0 +1 @@
+1.5.1
diff --git a/homebrew/opentracingcpp/download.sh b/homebrew/opentracingcpp/download.sh
new file mode 100755
index 000000000..73c347ad0
--- /dev/null
+++ b/homebrew/opentracingcpp/download.sh
@@ -0,0 +1 @@
+wget https://github.com/opentracing/opentracing-cpp/archive/v1.5.1.tar.gz \ No newline at end of file