summaryrefslogtreecommitdiff
path: root/homebrew/mysqlsandbox/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mysqlsandbox/.make.sh-auto')
-rw-r--r--homebrew/mysqlsandbox/.make.sh-auto7
1 files changed, 7 insertions, 0 deletions
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"])