homebrew-core/Formula/id3v2.rb

19 lines
443 B
Ruby
Raw Normal View History

2009-11-16 22:10:23 +00:00
require 'formula'
class Id3v2 <Formula
2009-12-07 20:03:08 +00:00
url 'http://downloads.sourceforge.net/project/id3v2/id3v2/0.1.11/id3v2-0.1.11.tar.gz'
2009-11-16 22:10:23 +00:00
homepage 'http://id3v2.sourceforge.net/'
md5 '68afc3827cf01501dfb22949f901f1d8'
depends_on 'id3lib'
def install
2010-03-05 05:54:37 +00:00
inreplace 'Makefile', 'c++', ENV.cxx
2009-12-05 16:59:48 +00:00
inreplace 'Makefile', '/man/man1', '/share/man/man1'
bin.mkpath
man1.mkpath
system "make", "install", "PREFIX=#{prefix}"
2009-11-16 22:10:23 +00:00
end
end