summaryrefslogtreecommitdiff
path: root/homebrew/stockfish
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/stockfish')
-rw-r--r--homebrew/stockfish/.beer19
-rw-r--r--homebrew/stockfish/.make.sh-auto5
-rw-r--r--homebrew/stockfish/_metadata/description1
-rw-r--r--homebrew/stockfish/_metadata/homepage1
-rw-r--r--homebrew/stockfish/_metadata/name1
-rw-r--r--homebrew/stockfish/_metadata/version1
-rwxr-xr-xhomebrew/stockfish/download.sh1
7 files changed, 29 insertions, 0 deletions
diff --git a/homebrew/stockfish/.beer b/homebrew/stockfish/.beer
new file mode 100644
index 000000000..1c19e1eae
--- /dev/null
+++ b/homebrew/stockfish/.beer
@@ -0,0 +1,19 @@
+{
+ "name": "Stockfish",
+ "description": "Strong open-source chess engine",
+ "url": "https://github.com/official-stockfish/Stockfish/files/2629649/sf_10.zip",
+ "mirror": null,
+ "homepage": "https://stockfishchess.org/",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "arch = if MacOS.version.requires_popcnt?",
+ "\"x86-64-modern\"",
+ "else",
+ "\"x86-64\""
+ ],
+ "version": "2629649",
+ "file": "stockfish.rb"
+} \ No newline at end of file
diff --git a/homebrew/stockfish/.make.sh-auto b/homebrew/stockfish/.make.sh-auto
new file mode 100644
index 000000000..514c1c7c1
--- /dev/null
+++ b/homebrew/stockfish/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+arch = if MacOS.version.requires_popcnt?
+"x86-64-modern"
+else
+"x86-64"
diff --git a/homebrew/stockfish/_metadata/description b/homebrew/stockfish/_metadata/description
new file mode 100644
index 000000000..c597868e7
--- /dev/null
+++ b/homebrew/stockfish/_metadata/description
@@ -0,0 +1 @@
+Strong open-source chess engine
diff --git a/homebrew/stockfish/_metadata/homepage b/homebrew/stockfish/_metadata/homepage
new file mode 100644
index 000000000..a38e09279
--- /dev/null
+++ b/homebrew/stockfish/_metadata/homepage
@@ -0,0 +1 @@
+https://stockfishchess.org/
diff --git a/homebrew/stockfish/_metadata/name b/homebrew/stockfish/_metadata/name
new file mode 100644
index 000000000..e1b5a703d
--- /dev/null
+++ b/homebrew/stockfish/_metadata/name
@@ -0,0 +1 @@
+Stockfish
diff --git a/homebrew/stockfish/_metadata/version b/homebrew/stockfish/_metadata/version
new file mode 100644
index 000000000..5c16f74f3
--- /dev/null
+++ b/homebrew/stockfish/_metadata/version
@@ -0,0 +1 @@
+2629649
diff --git a/homebrew/stockfish/download.sh b/homebrew/stockfish/download.sh
new file mode 100755
index 000000000..60aed6abc
--- /dev/null
+++ b/homebrew/stockfish/download.sh
@@ -0,0 +1 @@
+wget https://github.com/official-stockfish/Stockfish/files/2629649/sf_10.zip \ No newline at end of file