summaryrefslogtreecommitdiff
path: root/homebrew/sqltranslator/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/sqltranslator/.make.sh-auto')
-rw-r--r--homebrew/sqltranslator/.make.sh-auto8
1 files changed, 8 insertions, 0 deletions
diff --git a/homebrew/sqltranslator/.make.sh-auto b/homebrew/sqltranslator/.make.sh-auto
new file mode 100644
index 000000000..d095fd198
--- /dev/null
+++ b/homebrew/sqltranslator/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV.prepend_create_path "PERL5LIB", libexec/"lib/perl5"
+ENV["PERL_MM_OPT"] = "INSTALL_BASE=#{libexec}"
+perl Makefile.PL --defaultdeps
+make DESTDIR=${PKG_DEST} install
+bin.install Dir["#{libexec}/bin/sqlt*"]
+man1.install Dir["#{libexec}/man/man1/sqlt*.1"]
+bin.env_script_all_files libexec/"bin", :PERL5LIB => ENV["PERL5LIB"]