pkg:setup ./autogen.sh unless build.stable? pkg:configure --disable-dependency-tracking --with-libreadline-prefix=#{Formula[readline"].opt_prefix}" --with-libgmp-prefix=#{Formula[gmp"].opt_prefix}" make DESTDIR=${PKG_DEST} install Pathname.glob("#{lib}/*.dylib") do |dylib| lib.install_symlink dylib.basename => "#{dylib.basename(".dylib")}.so"