aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDenis Denisov2014-11-09 04:07:08 +0200
committerJack Nagel2014-12-07 01:42:34 -0500
commit5fbb07e9d82100c3631d6296cc05e178ea5d1806 (patch)
treec99e2c44e31029d75db84526d98cab1719ce97b1 /Library
parent532dce339f45a628fc987f3b8dfe4f51e5893de5 (diff)
downloadhomebrew-5fbb07e9d82100c3631d6296cc05e178ea5d1806.tar.bz2
mysql-sandbox 3.0.47
Closes #34030. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mysql-sandbox.rb16
1 files changed, 16 insertions, 0 deletions
diff --git a/Library/Formula/mysql-sandbox.rb b/Library/Formula/mysql-sandbox.rb
new file mode 100644
index 000000000..b83869e64
--- /dev/null
+++ b/Library/Formula/mysql-sandbox.rb
@@ -0,0 +1,16 @@
+require "formula"
+
+class MysqlSandbox < Formula
+ homepage "http://mysqlsandbox.net"
+ url "https://launchpadlibrarian.net/187745286/MySQL-Sandbox-3.0.47.tar.gz"
+ sha1 "1759c08c5b7d272b718178bbb7dbc0f52bcb429d"
+
+ def install
+ ENV.prepend_create_path "PERL5LIB", "#{HOMEBREW_PREFIX}/lib/perl5/site_perl"
+
+ system "perl", "Makefile.PL", "PREFIX=#{prefix}"
+ system "make", "test", "install"
+
+ bin.env_script_all_files(libexec+"bin", :PERL5LIB => ENV["PERL5LIB"])
+ end
+end