1 2 3 4 5 6
pkg:setup ENV.prepend_create_path "PERL5LIB", libexec+"lib/perl5" resource("Curses").stage do perl Makefile.PL INSTALL_BASE=#{libexec} make make DESTDIR=${PKG_DEST} install