diff options
Diffstat (limited to 'homebrew/xmrig')
-rw-r--r-- | homebrew/xmrig/.beer | 37 | ||||
-rw-r--r-- | homebrew/xmrig/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/xmrig/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/xmrig/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/xmrig/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/xmrig/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/xmrig/download.sh | 1 |
7 files changed, 47 insertions, 0 deletions
diff --git a/homebrew/xmrig/.beer b/homebrew/xmrig/.beer new file mode 100644 index 000000000..24bccf27e --- /dev/null +++ b/homebrew/xmrig/.beer @@ -0,0 +1,37 @@ +{ + "name": "Xmrig", + "description": "Monero (XMR) CPU miner", + "url": "https://github.com/xmrig/xmrig/archive/v2.13.1.tar.gz", + "mirror": null, + "homepage": "https://github.com/xmrig/xmrig", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "libmicrohttpd", + "build-depend": false + }, + { + "depend": "libuv", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "mkdir \"build\" do", + "system \"cmake\", \"..\", \"-DUV_LIBRARY=#{Formula[\"libuv\"].opt_lib}/libuv.dylib\",", + "*std_cmake_args", + "system \"make\"", + "bin.install \"xmrig\"" + ], + "version": "2.13.1", + "file": "xmrig.rb" +}
\ No newline at end of file diff --git a/homebrew/xmrig/.make.sh-auto b/homebrew/xmrig/.make.sh-auto new file mode 100644 index 000000000..fc4e26f1d --- /dev/null +++ b/homebrew/xmrig/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +mkdir "build" && cd build +cmake .. -DUV_LIBRARY=#{Formula[libuv"].opt_lib}/libuv.dylib" -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make +bin.install "xmrig" diff --git a/homebrew/xmrig/_metadata/description b/homebrew/xmrig/_metadata/description new file mode 100644 index 000000000..a4719c443 --- /dev/null +++ b/homebrew/xmrig/_metadata/description @@ -0,0 +1 @@ +Monero (XMR) CPU miner diff --git a/homebrew/xmrig/_metadata/homepage b/homebrew/xmrig/_metadata/homepage new file mode 100644 index 000000000..33d42faec --- /dev/null +++ b/homebrew/xmrig/_metadata/homepage @@ -0,0 +1 @@ +https://github.com/xmrig/xmrig diff --git a/homebrew/xmrig/_metadata/name b/homebrew/xmrig/_metadata/name new file mode 100644 index 000000000..d67a1a0ef --- /dev/null +++ b/homebrew/xmrig/_metadata/name @@ -0,0 +1 @@ +Xmrig diff --git a/homebrew/xmrig/_metadata/version b/homebrew/xmrig/_metadata/version new file mode 100644 index 000000000..94f15e9cc --- /dev/null +++ b/homebrew/xmrig/_metadata/version @@ -0,0 +1 @@ +2.13.1 diff --git a/homebrew/xmrig/download.sh b/homebrew/xmrig/download.sh new file mode 100755 index 000000000..88c7814fc --- /dev/null +++ b/homebrew/xmrig/download.sh @@ -0,0 +1 @@ +wget https://github.com/xmrig/xmrig/archive/v2.13.1.tar.gz
\ No newline at end of file |