summaryrefslogtreecommitdiff
path: root/homebrew/goat19
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/goat19')
-rw-r--r--homebrew/goat19/.beer35
-rw-r--r--homebrew/goat19/.make.sh-auto7
-rw-r--r--homebrew/goat19/_metadata/description1
-rw-r--r--homebrew/goat19/_metadata/homepage1
-rw-r--r--homebrew/goat19/_metadata/name1
-rw-r--r--homebrew/goat19/_metadata/version1
-rwxr-xr-xhomebrew/goat19/download.sh1
-rwxr-xr-xhomebrew/goat19/patches.sh1
8 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/goat19/.beer b/homebrew/goat19/.beer
new file mode 100644
index 000000000..6c4d91d86
--- /dev/null
+++ b/homebrew/goat19/.beer
@@ -0,0 +1,35 @@
+{
+ "name": "GoAT19",
+ "description": "Go programming environment (1.9)",
+ "url": "https://dl.google.com/go/go1.9.7.src.tar.gz",
+ "mirror": "https://fossies.org/linux/misc/go1.9.7.src.tar.gz",
+ "homepage": "https://golang.org",
+ "depends": [],
+ "resource": [
+ {
+ "name": "gotools",
+ "url": "https://go.googlesource.com/tools.git"
+ },
+ {
+ "name": "gobootstrap",
+ "url": "https://storage.googleapis.com/golang/go1.7.darwin-amd64.tar.gz"
+ }
+ ],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://github.com/Homebrew/formula-patches/raw/e089e057dbb8aff7d0dc36a6c1933c29dca9c77e/go%401.9/go_19_load_commands.patch",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "(buildpath/\"gobootstrap\").install resource(\"gobootstrap\")",
+ "ENV[\"GOROOT_BOOTSTRAP\"] = buildpath/\"gobootstrap\"",
+ "cd \"src\" do",
+ "ENV[\"GOROOT_FINAL\"] = libexec",
+ "ENV[\"GOOS\"] = \"darwin\"",
+ "system \"./make.bash\", \"--no-clean\""
+ ],
+ "version": "1.9.7",
+ "file": "go@1.9.rb"
+} \ No newline at end of file
diff --git a/homebrew/goat19/.make.sh-auto b/homebrew/goat19/.make.sh-auto
new file mode 100644
index 000000000..8fa8f5f4f
--- /dev/null
+++ b/homebrew/goat19/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+(buildpath/"gobootstrap").install resource("gobootstrap")
+ENV["GOROOT_BOOTSTRAP"] = buildpath/"gobootstrap"
+cd "src"
+ENV["GOROOT_FINAL"] = libexec
+ENV["GOOS"] = "darwin"
+./make.bash --no-clean
diff --git a/homebrew/goat19/_metadata/description b/homebrew/goat19/_metadata/description
new file mode 100644
index 000000000..6d281bae6
--- /dev/null
+++ b/homebrew/goat19/_metadata/description
@@ -0,0 +1 @@
+Go programming environment (1.9)
diff --git a/homebrew/goat19/_metadata/homepage b/homebrew/goat19/_metadata/homepage
new file mode 100644
index 000000000..a865d8b29
--- /dev/null
+++ b/homebrew/goat19/_metadata/homepage
@@ -0,0 +1 @@
+https://golang.org
diff --git a/homebrew/goat19/_metadata/name b/homebrew/goat19/_metadata/name
new file mode 100644
index 000000000..2c2ab6976
--- /dev/null
+++ b/homebrew/goat19/_metadata/name
@@ -0,0 +1 @@
+GoAT19
diff --git a/homebrew/goat19/_metadata/version b/homebrew/goat19/_metadata/version
new file mode 100644
index 000000000..fee0a2788
--- /dev/null
+++ b/homebrew/goat19/_metadata/version
@@ -0,0 +1 @@
+1.9.7
diff --git a/homebrew/goat19/download.sh b/homebrew/goat19/download.sh
new file mode 100755
index 000000000..afb35cafb
--- /dev/null
+++ b/homebrew/goat19/download.sh
@@ -0,0 +1 @@
+wget https://dl.google.com/go/go1.9.7.src.tar.gz || wget https://fossies.org/linux/misc/go1.9.7.src.tar.gz \ No newline at end of file
diff --git a/homebrew/goat19/patches.sh b/homebrew/goat19/patches.sh
new file mode 100755
index 000000000..45560e565
--- /dev/null
+++ b/homebrew/goat19/patches.sh
@@ -0,0 +1 @@
+wget https://github.com/Homebrew/formula-patches/raw/e089e057dbb8aff7d0dc36a6c1933c29dca9c77e/go%401.9/go_19_load_commands.patch