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/grpc | |
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/grpc')
-rw-r--r-- | homebrew/grpc/.beer | 54 | ||||
-rw-r--r-- | homebrew/grpc/.make.sh-auto | 6 | ||||
-rw-r--r-- | homebrew/grpc/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/grpc/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/grpc/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/grpc/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/grpc/download.sh | 1 |
7 files changed, 65 insertions, 0 deletions
diff --git a/homebrew/grpc/.beer b/homebrew/grpc/.beer new file mode 100644 index 000000000..432b46775 --- /dev/null +++ b/homebrew/grpc/.beer @@ -0,0 +1,54 @@ +{ + "name": "Grpc", + "description": "Next generation open source RPC library and framework", + "url": "https://github.com/grpc/grpc/archive/v1.20.0.tar.gz", + "mirror": null, + "homepage": "https://www.grpc.io/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "c-ares", + "build-depend": false + }, + { + "depend": "gflags", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "protobuf", + "build-depend": false + } + ], + "resource": [ + { + "name": "gtest", + "url": "https://github.com/google/googletest/archive/release-1.8.1.tar.gz" + } + ], + "conflicts": [], + "patches": [], + "install": [ + "system \"make\", \"install\", \"prefix=#{prefix}\"", + "system \"make\", \"install-plugins\", \"prefix=#{prefix}\"", + "(buildpath/\"third_party/googletest\").install resource(\"gtest\")", + "system \"make\", \"grpc_cli\", \"prefix=#{prefix}\"", + "bin.install \"bins/opt/grpc_cli\"" + ], + "version": "1.20.0", + "file": "grpc.rb" +}
\ No newline at end of file diff --git a/homebrew/grpc/.make.sh-auto b/homebrew/grpc/.make.sh-auto new file mode 100644 index 000000000..bead789ea --- /dev/null +++ b/homebrew/grpc/.make.sh-auto @@ -0,0 +1,6 @@ +pkg:setup +make DESTDIR=${PKG_DEST} install prefix=${PKG_TAPF} +make DESTDIR=${PKG_DEST} install-plugins prefix=${PKG_TAPF} +(buildpath/"third_party/googletest").install resource("gtest") +make grpc_cli prefix=${PKG_TAPF} +bin.install "bins/opt/grpc_cli" diff --git a/homebrew/grpc/_metadata/description b/homebrew/grpc/_metadata/description new file mode 100644 index 000000000..6be186342 --- /dev/null +++ b/homebrew/grpc/_metadata/description @@ -0,0 +1 @@ +Next generation open source RPC library and framework diff --git a/homebrew/grpc/_metadata/homepage b/homebrew/grpc/_metadata/homepage new file mode 100644 index 000000000..ff59a5730 --- /dev/null +++ b/homebrew/grpc/_metadata/homepage @@ -0,0 +1 @@ +https://www.grpc.io/ diff --git a/homebrew/grpc/_metadata/name b/homebrew/grpc/_metadata/name new file mode 100644 index 000000000..f0d8b9d42 --- /dev/null +++ b/homebrew/grpc/_metadata/name @@ -0,0 +1 @@ +Grpc diff --git a/homebrew/grpc/_metadata/version b/homebrew/grpc/_metadata/version new file mode 100644 index 000000000..398935591 --- /dev/null +++ b/homebrew/grpc/_metadata/version @@ -0,0 +1 @@ +1.20.0 diff --git a/homebrew/grpc/download.sh b/homebrew/grpc/download.sh new file mode 100755 index 000000000..74b1f6dea --- /dev/null +++ b/homebrew/grpc/download.sh @@ -0,0 +1 @@ +wget https://github.com/grpc/grpc/archive/v1.20.0.tar.gz
\ No newline at end of file |