summaryrefslogtreecommitdiff
path: root/homebrew/mysqlsandbox
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mysqlsandbox')
-rw-r--r--homebrew/mysqlsandbox/.beer21
-rw-r--r--homebrew/mysqlsandbox/.make.sh-auto7
-rw-r--r--homebrew/mysqlsandbox/_metadata/description1
-rw-r--r--homebrew/mysqlsandbox/_metadata/homepage1
-rw-r--r--homebrew/mysqlsandbox/_metadata/name1
-rw-r--r--homebrew/mysqlsandbox/_metadata/version1
-rwxr-xr-xhomebrew/mysqlsandbox/download.sh1
7 files changed, 33 insertions, 0 deletions
diff --git a/homebrew/mysqlsandbox/.beer b/homebrew/mysqlsandbox/.beer
new file mode 100644
index 000000000..e637bb048
--- /dev/null
+++ b/homebrew/mysqlsandbox/.beer
@@ -0,0 +1,21 @@
+{
+ "name": "MysqlSandbox",
+ "description": "Install one or more MySQL servers",
+ "url": "https://github.com/datacharmer/mysql-sandbox/archive/3.2.17.tar.gz",
+ "mirror": null,
+ "homepage": "https://mysqlsandbox.net",
+ "depends": [],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV[\"PERL_LIBDIR\"] = libexec/\"lib/perl5\"",
+ "ENV.prepend_create_path \"PERL5LIB\", libexec/\"lib/perl5/site_perl\"",
+ "system \"perl\", \"Makefile.PL\", \"PREFIX=#{libexec}\"",
+ "system \"make\", \"test\", \"install\"",
+ "bin.install Dir[\"#{libexec}/bin/*\"]",
+ "bin.env_script_all_files(libexec/\"bin\", :PERL5LIB => ENV[\"PERL5LIB\"])"
+ ],
+ "version": "3.2.17",
+ "file": "mysql-sandbox.rb"
+} \ No newline at end of file
diff --git a/homebrew/mysqlsandbox/.make.sh-auto b/homebrew/mysqlsandbox/.make.sh-auto
new file mode 100644
index 000000000..c4461c1f3
--- /dev/null
+++ b/homebrew/mysqlsandbox/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+ENV["PERL_LIBDIR"] = libexec/"lib/perl5"
+ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5/site_perl"
+perl Makefile.PL PREFIX=#{libexec}
+make test DESTDIR=${PKG_DEST} install
+bin.install Dir["#{libexec}/bin/*"]
+bin.env_script_all_files(libexec/"bin", :PERL5LIB => ENV["PERL5LIB"])
diff --git a/homebrew/mysqlsandbox/_metadata/description b/homebrew/mysqlsandbox/_metadata/description
new file mode 100644
index 000000000..bf476f2b9
--- /dev/null
+++ b/homebrew/mysqlsandbox/_metadata/description
@@ -0,0 +1 @@
+Install one or more MySQL servers
diff --git a/homebrew/mysqlsandbox/_metadata/homepage b/homebrew/mysqlsandbox/_metadata/homepage
new file mode 100644
index 000000000..9576d8a2e
--- /dev/null
+++ b/homebrew/mysqlsandbox/_metadata/homepage
@@ -0,0 +1 @@
+https://mysqlsandbox.net
diff --git a/homebrew/mysqlsandbox/_metadata/name b/homebrew/mysqlsandbox/_metadata/name
new file mode 100644
index 000000000..b9d38bf45
--- /dev/null
+++ b/homebrew/mysqlsandbox/_metadata/name
@@ -0,0 +1 @@
+MysqlSandbox
diff --git a/homebrew/mysqlsandbox/_metadata/version b/homebrew/mysqlsandbox/_metadata/version
new file mode 100644
index 000000000..ff8001a0f
--- /dev/null
+++ b/homebrew/mysqlsandbox/_metadata/version
@@ -0,0 +1 @@
+3.2.17
diff --git a/homebrew/mysqlsandbox/download.sh b/homebrew/mysqlsandbox/download.sh
new file mode 100755
index 000000000..cdabb903e
--- /dev/null
+++ b/homebrew/mysqlsandbox/download.sh
@@ -0,0 +1 @@
+wget https://github.com/datacharmer/mysql-sandbox/archive/3.2.17.tar.gz \ No newline at end of file