homebrew-core/Formula/id3v2.rb

20 lines
535 B
Ruby
Raw Normal View History

2009-11-16 22:10:23 +00:00
require 'formula'
2011-03-10 05:11:03 +00:00
class Id3v2 < Formula
desc "ID3v2 editing tool"
2009-11-16 22:10:23 +00:00
homepage 'http://id3v2.sourceforge.net/'
url 'https://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
# 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