require 'formula' class Mytop :perl def install # needs DBD:mysql system "perl Makefile.PL PREFIX=#{prefix}" system "make test install" end end