Add formula for id3v2.
This commit is contained in:
parent
d9f0201329
commit
0eb3086eb5
1 changed files with 16 additions and 0 deletions
16
Formula/id3v2.rb
Normal file
16
Formula/id3v2.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
require 'formula'
|
||||
|
||||
class Id3v2 <Formula
|
||||
url 'http://prdownloads.sourceforge.net/id3v2/id3v2-0.1.11.tar.gz'
|
||||
homepage 'http://id3v2.sourceforge.net/'
|
||||
md5 '68afc3827cf01501dfb22949f901f1d8'
|
||||
|
||||
depends_on 'id3lib'
|
||||
|
||||
def install
|
||||
inreplace 'Makefile', 'c++', '$(CXX)'
|
||||
FileUtils.mkdir_p "#{prefix}/bin"
|
||||
FileUtils.mkdir_p "#{prefix}/man/man1"
|
||||
system "make install PREFIX=#{prefix}"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue