summaryrefslogtreecommitdiff
path: root/homebrew/imapsync/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/imapsync/.make.sh-auto')
-rw-r--r--homebrew/imapsync/.make.sh-auto9
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/imapsync/.make.sh-auto b/homebrew/imapsync/.make.sh-auto
new file mode 100644
index 000000000..6b562b7b1
--- /dev/null
+++ b/homebrew/imapsync/.make.sh-auto
@@ -0,0 +1,9 @@
+pkg:setup
+ENV.prepend_create_path "PERL5LIB", libexec+"lib/perl5"
+build_pl = ["JSON::WebToken", "Module::Build::Tiny", "Readonly"]
+resources.each do |r|
+r.stage do
+next if build_pl.include? r.name
+perl Makefile.PL INSTALL_BASE=#{libexec}
+make
+make DESTDIR=${PKG_DEST} install