summaryrefslogtreecommitdiff
path: root/homebrew/gnugo
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gnugo')
-rw-r--r--homebrew/gnugo/.beer19
-rw-r--r--homebrew/gnugo/.make.sh-auto3
-rw-r--r--homebrew/gnugo/_metadata/description1
-rw-r--r--homebrew/gnugo/_metadata/homepage1
-rw-r--r--homebrew/gnugo/_metadata/name1
-rw-r--r--homebrew/gnugo/_metadata/version1
-rwxr-xr-xhomebrew/gnugo/download.sh1
7 files changed, 27 insertions, 0 deletions
diff --git a/homebrew/gnugo/.beer b/homebrew/gnugo/.beer
new file mode 100644
index 000000000..ddbc80470
--- /dev/null
+++ b/homebrew/gnugo/.beer
@@ -0,0 +1,19 @@
+{
+ "name": "GnuGo",
+ "description": "GNU Go",
+ "url": "https://ftp.gnu.org/gnu/gnugo/gnugo-3.8.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/gnugo/gnugo-3.8.tar.gz",
+ "homepage": "https://www.gnu.org/software/gnugo/gnugo.html",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--disable-debug\", \"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--with-readline\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.8",
+ "file": "gnu-go.rb"
+} \ No newline at end of file
diff --git a/homebrew/gnugo/.make.sh-auto b/homebrew/gnugo/.make.sh-auto
new file mode 100644
index 000000000..616aedc3c
--- /dev/null
+++ b/homebrew/gnugo/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --with-readline
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/gnugo/_metadata/description b/homebrew/gnugo/_metadata/description
new file mode 100644
index 000000000..2dd0c294c
--- /dev/null
+++ b/homebrew/gnugo/_metadata/description
@@ -0,0 +1 @@
+GNU Go
diff --git a/homebrew/gnugo/_metadata/homepage b/homebrew/gnugo/_metadata/homepage
new file mode 100644
index 000000000..97e7840f2
--- /dev/null
+++ b/homebrew/gnugo/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/gnugo/gnugo.html
diff --git a/homebrew/gnugo/_metadata/name b/homebrew/gnugo/_metadata/name
new file mode 100644
index 000000000..c9a6ec943
--- /dev/null
+++ b/homebrew/gnugo/_metadata/name
@@ -0,0 +1 @@
+GnuGo
diff --git a/homebrew/gnugo/_metadata/version b/homebrew/gnugo/_metadata/version
new file mode 100644
index 000000000..cc1923a40
--- /dev/null
+++ b/homebrew/gnugo/_metadata/version
@@ -0,0 +1 @@
+3.8
diff --git a/homebrew/gnugo/download.sh b/homebrew/gnugo/download.sh
new file mode 100755
index 000000000..c8c324d59
--- /dev/null
+++ b/homebrew/gnugo/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/gnugo/gnugo-3.8.tar.gz || wget https://ftpmirror.gnu.org/gnugo/gnugo-3.8.tar.gz \ No newline at end of file