summaryrefslogtreecommitdiff
path: root/homebrew/mono
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mono')
-rw-r--r--homebrew/mono/.beer52
-rw-r--r--homebrew/mono/.make.sh-auto9
-rw-r--r--homebrew/mono/_metadata/description1
-rw-r--r--homebrew/mono/_metadata/homepage1
-rw-r--r--homebrew/mono/_metadata/name1
-rw-r--r--homebrew/mono/_metadata/version1
-rwxr-xr-xhomebrew/mono/download.sh1
7 files changed, 66 insertions, 0 deletions
diff --git a/homebrew/mono/.beer b/homebrew/mono/.beer
new file mode 100644
index 000000000..70d5018dd
--- /dev/null
+++ b/homebrew/mono/.beer
@@ -0,0 +1,52 @@
+{
+ "name": "Mono",
+ "description": "Cross platform, open source .NET development framework",
+ "url": "https://download.mono-project.com/sources/mono/mono-5.20.1.19.tar.bz2",
+ "mirror": null,
+ "homepage": "https://www.mono-project.com/",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ }
+ ],
+ "resource": [
+ {
+ "name": "fsharp",
+ "url": "https://github.com/fsharp/fsharp.git"
+ },
+ {
+ "name": "msbuild",
+ "url": "https://github.com/mono/msbuild.git"
+ }
+ ],
+ "conflicts": [
+ {
+ "conflict": "xsd",
+ "reason": "both install `xsd` binaries"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--enable-nls=no\",",
+ "\"--build=x86_64-apple-darwin\"",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "libexec.install bin/\"mono-gdb.py\", bin/\"mono-sgen-gdb.py\"",
+ "ENV.prepend_path \"PATH\", bin",
+ "resource(\"msbuild\").stage do",
+ "system \"./build.sh\", \"-hostType\", \"mono\", \"-configuration\", \"Release\", \"-skipTests\"",
+ "system \"./artifacts/mono-msbuild/msbuild\", \"mono/build/install.proj\",",
+ "\"/p:MonoInstallPrefix=#{prefix}\", \"/p:Configuration=Release-MONO\",",
+ "\"/p:IgnoreDiffFailure=true\""
+ ],
+ "version": "5.20.1.19",
+ "file": "mono.rb"
+} \ No newline at end of file
diff --git a/homebrew/mono/.make.sh-auto b/homebrew/mono/.make.sh-auto
new file mode 100644
index 000000000..106df20de
--- /dev/null
+++ b/homebrew/mono/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --disable-silent-rules --enable-nls=no --build=x86_64-apple-darwin
+make
+make DESTDIR=${PKG_DEST} install
+libexec.install bin/"mono-gdb.py", bin/"mono-sgen-gdb.py"
+ENV.prepend_path "PATH", bin
+resource("msbuild").stage do
+./build.sh -hostType mono -configuration Release -skipTests
+./artifacts/mono-msbuild/msbuild mono/build/install.proj /p:MonoInstallPrefix=${PKG_TAPF} /p:Configuration=Release-MONO /p:IgnoreDiffFailure=true
diff --git a/homebrew/mono/_metadata/description b/homebrew/mono/_metadata/description
new file mode 100644
index 000000000..16f7e17a4
--- /dev/null
+++ b/homebrew/mono/_metadata/description
@@ -0,0 +1 @@
+Cross platform, open source .NET development framework
diff --git a/homebrew/mono/_metadata/homepage b/homebrew/mono/_metadata/homepage
new file mode 100644
index 000000000..42cd546ca
--- /dev/null
+++ b/homebrew/mono/_metadata/homepage
@@ -0,0 +1 @@
+https://www.mono-project.com/
diff --git a/homebrew/mono/_metadata/name b/homebrew/mono/_metadata/name
new file mode 100644
index 000000000..ad9ea180b
--- /dev/null
+++ b/homebrew/mono/_metadata/name
@@ -0,0 +1 @@
+Mono
diff --git a/homebrew/mono/_metadata/version b/homebrew/mono/_metadata/version
new file mode 100644
index 000000000..3712fba38
--- /dev/null
+++ b/homebrew/mono/_metadata/version
@@ -0,0 +1 @@
+5.20.1.19
diff --git a/homebrew/mono/download.sh b/homebrew/mono/download.sh
new file mode 100755
index 000000000..32fc364b8
--- /dev/null
+++ b/homebrew/mono/download.sh
@@ -0,0 +1 @@
+wget https://download.mono-project.com/sources/mono/mono-5.20.1.19.tar.bz2 \ No newline at end of file