2009-11-16 22:10:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Id3v2 < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "ID3v2 editing tool"
|
2009-11-16 22:10:23 +00:00
|
|
|
homepage 'http://id3v2.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/id3v2/id3v2/0.1.12/id3v2-0.1.12.tar.gz'
|
2013-05-14 16:41:13 +00:00
|
|
|
sha1 '8f42153b2f53098c221da2e8fe42170e727cd9ad'
|
2009-11-16 22:10:23 +00:00
|
|
|
|
|
|
|
depends_on 'id3lib'
|
|
|
|
|
|
|
|
def install
|
2013-05-14 18:48:40 +00:00
|
|
|
# tarball includes a prebuilt Linux binary, which will get installed
|
|
|
|
# by `make install` if `make clean` isn't run first
|
|
|
|
system "make", "clean"
|
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
|