From 5fbb07e9d82100c3631d6296cc05e178ea5d1806 Mon Sep 17 00:00:00 2001 From: Denis Denisov Date: Sun, 9 Nov 2014 04:07:08 +0200 Subject: mysql-sandbox 3.0.47 Closes #34030. Signed-off-by: Jack Nagel --- Library/Formula/mysql-sandbox.rb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Library/Formula/mysql-sandbox.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3