require 'formula' class Mp3info < Formula url 'http://www.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-0.8.5a.tgz' homepage 'http://www.ibiblio.org/mp3info/' md5 'cb7b619a10a40aaac2113b87bb2b2ea2' def patches { :p0 => "https://svn.macports.org/repository/macports/!svn/bc/34602/trunk/dports/audio/mp3info/files/patch-mp3tech.c.diff" } end def install system "make mp3info doc" bin.install "mp3info" man1.install "mp3info.1" end end