homebrew-core/Formula/id3v2.rb
Adam Vandenberg 7bd947eb0b Update formulae for version 0.7
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
2010-08-07 18:08:53 -07:00

20 lines
455 B
Ruby

require 'formula'
class Id3v2 <Formula
url 'http://downloads.sourceforge.net/project/id3v2/id3v2/0.1.11/id3v2-0.1.11.tar.gz'
homepage 'http://id3v2.sourceforge.net/'
md5 '68afc3827cf01501dfb22949f901f1d8'
depends_on 'id3lib'
def install
inreplace 'Makefile' do |s|
s.gsub! 'c++', ENV.cxx
s.gsub! '/man/man1', '/share/man/man1'
end
bin.mkpath
man1.mkpath
system "make", "install", "PREFIX=#{prefix}"
end
end