2009-11-16 22:10:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
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/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'ca825d851ca0c6a5783af107dc6baa7aa93f0bad'
|
2009-11-16 22:10:23 +00:00
|
|
|
|
|
|
|
depends_on 'id3lib'
|
|
|
|
|
|
|
|
def install
|
2010-04-07 05:58:35 +00:00
|
|
|
inreplace 'Makefile' do |s|
|
|
|
|
s.gsub! 'c++', ENV.cxx
|
|
|
|
s.gsub! '/man/man1', '/share/man/man1'
|
|
|
|
end
|
|
|
|
|
2009-12-05 16:59:48 +00:00
|
|
|
bin.mkpath
|
|
|
|
man1.mkpath
|
|
|
|
system "make", "install", "PREFIX=#{prefix}"
|
2009-11-16 22:10:23 +00:00
|
|
|
end
|
|
|
|
end
|