diff options
Diffstat (limited to 'homebrew/dc3dd/.make.sh-auto')
-rw-r--r-- | homebrew/dc3dd/.make.sh-auto | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/homebrew/dc3dd/.make.sh-auto b/homebrew/dc3dd/.make.sh-auto new file mode 100644 index 000000000..6a394852d --- /dev/null +++ b/homebrew/dc3dd/.make.sh-auto @@ -0,0 +1,9 @@ +pkg:setup +unzip dc3dd-#{version}.zip ; true +cd "dc3dd-#{version}" +ENV.prepend_create_path "PERL5LIB", buildpath/"gettext-pm/lib/perl5" +resource("gettext-pm").stage do +inreplace "Makefile.PL", "$libs = \"-lintl\"", "$libs = \"-L/usr/local/opt/gettext/lib -lintl\"" +perl Makefile.PL INSTALL_BASE=#{buildpath}/gettext-pm +make +make DESTDIR=${PKG_DEST} install |