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