2009-11-16 22:10:23 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Id3v2 < Formula
|
2009-11-16 22:10:23 +00:00
|
|
|
homepage 'http://id3v2.sourceforge.net/'
|
2013-05-14 16:41:13 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/id3v2/id3v2/0.1.12/id3v2-0.1.12.tar.gz'
|
|
|
|
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
|