homebrew-core/Formula/id3v2.rb
2009-12-12 16:23:03 +00:00

18 lines
446 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', 'c++', ENV['CXX']
inreplace 'Makefile', '/man/man1', '/share/man/man1'
bin.mkpath
man1.mkpath
system "make", "install", "PREFIX=#{prefix}"
end
end